diff --git a/simple.py b/simple.py new file mode 100755 index 0000000..f3ff77d --- /dev/null +++ b/simple.py @@ -0,0 +1,19 @@ +#!/home/pi/protovac/env/bin/python + +import time +import curses + +stdscr = curses.initscr() +curses.noecho() +curses.cbreak() +stdscr.keypad(True) + +stdscr.addstr(5, 5, 'Hello world!') +stdscr.refresh() + +stdscr.getch() + +curses.nocbreak() +stdscr.keypad(False) +curses.echo() +curses.endwin()