python version of with_chgat now has correctly formatted text

This commit is contained in:
Dan Buch 2010-05-30 16:25:48 -04:00
parent 4995171f4d
commit 354ea866cd

View File

@ -5,8 +5,7 @@ import curses
def with_chgat(stdscr):
curses.init_pair(1, curses.COLOR_CYAN, curses.COLOR_BLACK)
stdscr.addstr("A Big string which i didn't care to type fully ",
curses.color_pair(1))
# stdscr.chgat(0, 0, -1, curses.A_BLINK)
curses.color_pair(1) | curses.A_BLINK)
stdscr.refresh()
stdscr.getch()