You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
411 B
22 lines
411 B
15 years ago
|
import sys
|
||
|
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 ",
|
||
15 years ago
|
curses.color_pair(1) | curses.A_BLINK)
|
||
15 years ago
|
stdscr.refresh()
|
||
|
stdscr.getch()
|
||
|
|
||
|
|
||
|
def main():
|
||
|
curses.wrapper(with_chgat)
|
||
|
return 0
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
sys.exit(main())
|
||
|
|
||
|
# vim:filetype=python
|