windows-curses
windows-curses copied to clipboard
chr() returns same value for ctrl+h and backspace
When you hit ctrl+h
or backspace
key, ord(stdscr.getch()
both produces the same result 8
.
On Linux, backspace
returns 143
instead.
Is there any way to differentiate these then?
Python 3.7.6, latest windows-curses.