Skip to content

Instantly share code, notes, and snippets.

View QuiteClose's full-sized avatar

QuiteClose QuiteClose

View GitHub Profile
@QuiteClose
QuiteClose / show-all-256-colors.py
Created June 20, 2016 12:12 — forked from mgedmin/show-all-256-colors.py
Script to show all 256 colors supported by xterms
#!/usr/bin/python
"""Print a swatch using all 256 colors of 256-color-capable terminals."""
__author__ = "Marius Gedminas <marius@gedmin.as>"
__url__ = "https://gist.github.com/mgedmin/2762225"
__version__ = '2.0'
def hrun(start, width, padding=0):