python version of with_chgat now has correctly formatted text

cat-town
Dan Buch 15 years ago
parent 4995171f4d
commit 354ea866cd

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

Loading…
Cancel
Save