On Mon, Jan 18, 2021 at 08:16:09PM -0500, Thomas Dickey wrote:
On Mon, Jan 18, 2021 at 04:05:14PM -0800, Kevin J. McCarthy wrote:This is an ncurses question, but if I'm lucky Thomas Dickey might see it here. :-)Anyway, I'm wondering if 'keypad (stdscr, TRUE);' is technically required to be called again after an (temporary) endwin()?keypad sets a property on the window, and it should not be needed, since the window is not altered by endwin
Thank you Thomas for your time, and for the fast response.I was grepping around the ncurses code after I asked the question (without understanding much of it, TBH), but I did find something about "keypad_xmit" and "keypad_local" inside _nc_keypad(), that sort of looks like it may be sending those to the terminal.
Am I misunderstanding, or does that set a property on the terminal too? If it does, could some terminals need the property reset on endwin() + refresh()?
-- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature