mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-18 21:09:41 +02:00
18 lines
308 B
Python
Executable file
18 lines
308 B
Python
Executable file
#!/usr/bin/python3
|
|
|
|
import curses
|
|
|
|
screen = curses.initscr()
|
|
screen.keypad(1)
|
|
curses.curs_set(0)
|
|
curses.mousemask(curses.ALL_MOUSE_EVENTS | curses.REPORT_MOUSE_POSITION)
|
|
curses.flushinp()
|
|
curses.noecho()
|
|
screen.clear()
|
|
|
|
screen.addstr(1, 0, "Press any key")
|
|
|
|
screen.getch()
|
|
|
|
curses.endwin()
|
|
curses.flushinp()
|