diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-04-04 13:48:45 +0200 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-04-04 14:04:48 +0200 |
| commit | 0f39109d6bb4ed14b51164791621620cc6b5d461 (patch) | |
| tree | f7b974b4f244b3e370c8955a6ecc3c7df1472afa /lib/tecat.tes | |
| parent | b286ad5334eaad82f85c759ee00a36678db7cb17 (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 'lib/tecat.tes')
0 files changed, 0 insertions, 0 deletions
