windows-curses icon indicating copy to clipboard operation
windows-curses copied to clipboard

chr() returns same value for ctrl+h and backspace

Open bagage opened this issue 4 years ago • 0 comments

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.

bagage avatar Feb 28 '20 15:02 bagage