aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/spawn.h
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-04-04 13:48:45 +0200
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-04-04 14:04:48 +0200
commit0f39109d6bb4ed14b51164791621620cc6b5d461 (patch)
treef7b974b4f244b3e370c8955a6ecc3c7df1472afa /src/spawn.h
parentb286ad5334eaad82f85c759ee00a36678db7cb17 (diff)
Curses: handle window resizes when blocking in `^T` and don't return function keys
* There was a logic error in teco_interface_getch() that caused Curses function key codes to be returned directly. These codes however are useless to macro authors and can be confused with codepoints. You cannot report function keys in the same "namespace" along with Unicode codepoints. They are now filtered out. * Also make sure that Backspace and Return are reported as 8 and 10 respectively in all Curses variants. All control codes reported by Curses are passed down unmodified - in contrast to the command-line input handling. I.e. 13 is not normalized to 10. * PDCursesMod/WinGUI may return bogus key presses, that also have to be filtered out as we already did in the main input handling. A function teco_interface_check_key() has been introduced. * NOTE: teco_interface_blocking_getch() already makes sure that recovery files are dumped even when blocking in `^T`.
Diffstat (limited to 'src/spawn.h')
0 files changed, 0 insertions, 0 deletions