kls/~

15 lines
224 B
Plaintext
Raw Normal View History

2024-04-11 06:25:12 +00:00
import time
import curses
def draw(canvas):
while True:
key = canvas.getkey()
print(f"Вы ввели {key}")
if __name__ == '__main__':
curses.update_lines_cols()
curses.wrapper(draw)