Skip to content

Instantly share code, notes, and snippets.

@wandernauta
Created June 12, 2010 15:56
Show Gist options
  • Save wandernauta/435847 to your computer and use it in GitHub Desktop.
Save wandernauta/435847 to your computer and use it in GitHub Desktop.
import os/Terminal
for (c in 30..38) {
Terminal setBgColor(c)
"Background %d" format(c) print()
Terminal reset()
Terminal setFgColor(c)
" Foreground %d" format(c) println()
Terminal reset()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment