diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-12-23 14:00:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-23 14:00:32 -0500 |
commit | a3b58cd60a6bb40c568ee5af4ea9a3ca5a8f7d09 (patch) | |
tree | c9bea5a80703ff2552717637d12401c2bb69233d /src/nvim/os/input.c | |
parent | f1bfd055a7f461fd6c3770b28d08b922838ee6b0 (diff) | |
parent | 657369bb68b08d2c373d6b425ed55e53d5f6789a (diff) | |
download | rneovim-a3b58cd60a6bb40c568ee5af4ea9a3ca5a8f7d09.tar.gz rneovim-a3b58cd60a6bb40c568ee5af4ea9a3ca5a8f7d09.tar.bz2 rneovim-a3b58cd60a6bb40c568ee5af4ea9a3ca5a8f7d09.zip |
Merge #5758 from justinmk/fixkbs
tui: check stty/termios for kbs
Diffstat (limited to 'src/nvim/os/input.c')
-rw-r--r-- | src/nvim/os/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/os/input.c b/src/nvim/os/input.c index 1307ab5e5a..b60a7eed36 100644 --- a/src/nvim/os/input.c +++ b/src/nvim/os/input.c @@ -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 }; |