protovac/simple.py

20 lines
285 B
Python
Raw Normal View History

2022-09-01 20:05:54 +00:00
#!/home/tanner/protovac/env/bin/python
2022-09-01 07:33:26 +00:00
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()