Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- from unicurses import *
- def main():
- stdscr = initscr()
- start_color()
- blue = 1 # You must declare an index for the color to pass into the init_pair fiunction
- init_pair( blue, COLOR_BLUE, COLOR_BLUE )
- wbkgd( stdscr, " ", color_pair( blue ) )
- getch()
- endwin()
- if ( __name__ == "__main__" ):
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement