Closed insidewhy closed 3 years ago
If I run readchar in one thread and then:
readchar
print("hello") print("goodbye")
I get the following output:
hello goodbye
Instead of:
I think this can be solved by changing this line:
https://github.com/magmax/python-readchar/blob/master/readchar/readchar_linux.py#L14
Change setraw to setcbreak.
setraw
setcbreak
If I run
readchar
in one thread and then:I get the following output:
Instead of: