-
Notifications
You must be signed in to change notification settings - Fork 1
Windows compatibility with msvcrt #4
Copy link
Copy link
Open
Description
Hi!
I have been using prezo for a while and really enjoying the experience!
However, since I'm on Windows, I need to turn to WSL in order to use prezo because termios module is not accessible on Windows.
I think the issue is caused by this piece of code:
# Wait for keypress
fd = sys.stdin.fileno()
old_settings = termios.tcgetattr(fd)
try:
tty.setraw(fd)
sys.stdin.read(1)
finally:
termios.tcsetattr(fd, termios.TCSADRAIN, old_settings)Would you be open to extending the support to Windows?
I could implement it with msvcrt.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels