added quick keyboard press tester

This commit is contained in:
Nicholas Dyer 2023-12-21 08:33:05 -05:00
parent 101be16f5c
commit 870ef94a57
Signed by: ndyer
GPG Key ID: E5426C53DE17E1B2
3 changed files with 13 additions and 0 deletions

View File

@ -1,2 +1,3 @@
# terminal-emulator

0
terminal/__init__.py Normal file
View File

12
terminal/__main__.py Normal file
View File

@ -0,0 +1,12 @@
import keyboard
import time
def main():
while True:
pressed_key = keyboard.read_key()
print(pressed_key.upper(), end='')
if __name__ == '__main__':
main()