[Tutor] Arrow keys in subwindows
paulf at quillandmouse.com
paulf at quillandmouse.com
Thu Jan 12 02:02:49 EST 2023
Folks:
I can't seem to get the arrow keys (KEY_LEFT, KEY_RIGHT) to work in
subwindows. I'm running Debian Linux with version 3.10.9 of Python.
When I run my code using stdscr, arrow keys work just fine. I do a
a key = stdscr.getch(), it registers the keys. But when I use a
subwindow (key = mysubwin.getch()), they don't register. No exception
dumped, but the arrow keys just don't register.
Has anyone else seen this behavior, and can you explain it?
Paul
--
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster
More information about the Tutor
mailing list