method of window · Added in 3.3not Androidnot iOSnot WASI
window.get_wch([y, x])
get_wch([y, x])
Read a key press and return it as a one-character str.
y
Y-coordinate.
x
X-coordinate.
Wait until a key is pressed, or raise curses.error if the read is
non-blocking or times out.
In keypad mode function keys and other special keys are returned as
one of the KEY_* constants, an integer. Otherwise their characters
are returned one at a time.