editor/examples/event_test.py

13 lines
230 B
Python

# SPDX-FileCopyrightText: 2023 Jeff Epler for Adafruit Industries
#
# SPDX-License-Identifier: MIT
from adafruit_editor.dang import wrapper
def main(stdscr):
while True:
print(repr(stdscr.getkey()))
wrapper(main)