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 <[email protected]>"
__url__ = "https://gist.github.com/mgedmin/2762225"
__version__ = '2.0'
def hrun(start, width, padding=0):