fix coloring terminal handling

Issue #34 new
Holger Krekel repo owner created an issue

terminal coloring could try a bit harder to get at the correct escape codes:

{{{

!python

import curses
curses.setupterm()
black = curses.tparm(curses.tigetstr('setaf'), 0)
red = curses.tparm(curses.tigetstr('setaf'), 1)
green = curses.tparm(curses.tigetstr('setaf'), 2)
print red, "red", green, "green", black, "black"
}}}

Comments (1)

  1. Log in to comment