Simulator: fix keyboard ctrl messing with pytest (#30827)

fix
old-commit-hash: a6b17fb1f6063835f6e0065d9bf670fbf069de48
This commit is contained in:
Justin Newberry
2023-12-20 15:10:11 -08:00
committed by GitHub
parent 82ff204bdd
commit c3551ea4ec
+1 -2
View File
@@ -15,8 +15,6 @@ ISPEED = 4
OSPEED = 5
CC = 6
STDIN_FD = sys.stdin.fileno()
KEYBOARD_HELP = """
| key | functionality |
@@ -32,6 +30,7 @@ KEYBOARD_HELP = """
def getch() -> str:
STDIN_FD = sys.stdin.fileno()
old_settings = termios.tcgetattr(STDIN_FD)
try:
# set