You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove empty-string terminfo capabilities that cause input to be swallowed (#1861)
Programs like less (v691) and bat fail to accept keyboard input (e.g. '/'
for search) when the terminfo database defines string capabilities as
empty strings. The empty strings get loaded into the command parser's
table and incorrectly match any input, silently consuming it.
Remove the six capabilities that were defined with empty values (ka1,
ka3, kc1, kc3, khlp, kund) from the StringCaps array, and add a
defensive filter in terminfo() to skip any remaining empty-valued string
capabilities.
Signed-off-by: Christian Parpart <christian@parpart.family>
<li>Fixes keyboard input being swallowed in programs like less and bat due to empty-string terminfo capabilities (#1861)</li>
110
111
<li>Fixes F3 key not reaching PTY applications when a keybinding matches but its action does not execute, by falling through to the terminal instead of silently consuming the key event</li>
111
112
<li>Fixes F3/Shift+F3 search navigation keybindings firing in any mode instead of only when Search mode is active</li>
112
113
<li>Fixes build failure on Alpine Linux (musl libc) due to missing close_range() function (#1879)</li>
0 commit comments