Advertisement
RootOfTheNull

Felipe's Code

Dec 7th, 2013
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.34 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3. from unicurses import *
  4.  
  5. def main():
  6.  
  7.     stdscr = initscr()
  8.  
  9.     start_color()
  10.     blue = 1 # You must declare an index for the color to pass into the init_pair fiunction
  11.  
  12.     init_pair( blue, COLOR_BLUE, COLOR_BLUE )
  13.     wbkgd( stdscr, " ", color_pair( blue ) )
  14.  
  15.  
  16.     getch()
  17.  
  18.     endwin()
  19.  
  20. if ( __name__ == "__main__" ):
  21.     main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement