Add window.chgat() method, submitted via e-mail by Fabian Kreutz

This commit is contained in:
Andrew M. Kuchling 2007-04-11 13:39:00 +00:00
parent 781aef2d6b
commit 400a49ba79
5 changed files with 84 additions and 4 deletions

View file

@ -129,6 +129,12 @@ def window_funcs(stdscr):
stdscr.touchline(5,5,0)
stdscr.vline('a', 3)
stdscr.vline('a', 3, curses.A_STANDOUT)
stdscr.chgat(5, 2, 3, curses.A_BLINK)
stdscr.chgat(3, curses.A_BOLD)
stdscr.chgat(5, 8, curses.A_UNDERLINE)
stdscr.chgat(curses.A_BLINK)
stdscr.refresh()
stdscr.vline(1,1, 'a', 3)
stdscr.vline(1,1, 'a', 3, curses.A_STANDOUT)