mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-07-28 22:40:52 -07:00
fix(types): termios type errors on windows
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user