fix(types): termios type errors on windows

This commit is contained in:
Type-Delta
2026-04-06 09:16:03 +07:00
parent 5be6f356c5
commit 7c5a856253
+3
View File
@@ -15,6 +15,9 @@ console = Console()
def get_key():
"""Read a single keypress (including arrows)."""
if sys.platform == "win32":
raise NotImplementedError("icat is not supported on Windows.")
fd = sys.stdin.fileno()
old = termios.tcgetattr(fd)
try: