magmax / python-readchar

Python library to read characters and key strokes
MIT License
143 stars 45 forks source link

does not work on raspberry pi buster with vnc and thonny #49

Closed dr-roboto closed 2 years ago

dr-roboto commented 4 years ago

ran simple program

import readchar
key = readchar.readkey()
print (key)

produced this error:

old_settings = termios.tcgetattr(fd)
termios.error: (25, 'Inappropriate ioctl for device')