Skip to content

Commit 576e87e

Browse files
committed
Reverting setcbreak to setraw
1 parent 7842266 commit 576e87e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readchar/readchar_linux.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def readchar():
1111
fd = sys.stdin.fileno()
1212
old_settings = termios.tcgetattr(fd)
1313
try:
14-
tty.setcbreak(sys.stdin.fileno())
14+
tty.setraw(sys.stdin.fileno())
1515
ch = sys.stdin.read(1)
1616
finally:
1717
termios.tcsetattr(fd, termios.TCSADRAIN, old_settings)

0 commit comments

Comments
 (0)