This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import curses | |
# see 2/howto/curses.html for info. | |
# look into curses.textpad, which turns a window into a textbox with bindings | |
# look into curses.ascii for easier char handing | |
# the curses magical setup | |
stdscr = curses.initscr() # setup intial window | |
curses.noecho() # dont echo keystrokes |