mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
tui: check stty/termios for kbs
Requires libtermkey 0.19+ Closes #2048 Closes #5693 Seea9b61424aa
%5E...c0eb4e4a05f49ad8fee0195c77f2c29d09cc36af See https://bugzilla.redhat.com/show_bug.cgi?id=142659 Seefe4e9470bb/tty-keys.c (L625-L632)
This commit is contained in:
@@ -39,8 +39,6 @@ static int events_enabled = 0;
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "os/input.c.generated.h"
|
||||
#endif
|
||||
// Helper function used to push bytes from the 'event' key sequence partially
|
||||
// between calls to os_inchar when maxlen < 3
|
||||
|
||||
void input_init(void)
|
||||
{
|
||||
@@ -389,6 +387,8 @@ static void process_interrupts(void)
|
||||
}
|
||||
}
|
||||
|
||||
// Helper function used to push bytes from the 'event' key sequence partially
|
||||
// between calls to os_inchar when maxlen < 3
|
||||
static int push_event_key(uint8_t *buf, int maxlen)
|
||||
{
|
||||
static const uint8_t key[3] = { K_SPECIAL, KS_EXTRA, KE_EVENT };
|
||||
|
Reference in New Issue
Block a user