diff options
author | bfredl <bjorn.linse@gmail.com> | 2024-05-31 20:36:16 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2024-06-01 10:52:43 +0200 |
commit | 6d6974eae685feeccac027287b4dee58730a7464 (patch) | |
tree | 1c1b0efb11da11a3f6121465172410941d999a56 /src/nvim/main.c | |
parent | 1d091e52f09c8167eeaa03a6e5c44070ea198c6b (diff) | |
download | rneovim-6d6974eae685feeccac027287b4dee58730a7464.tar.gz rneovim-6d6974eae685feeccac027287b4dee58730a7464.tar.bz2 rneovim-6d6974eae685feeccac027287b4dee58730a7464.zip |
refactor(input): don't use a ring for input
Since paste data is handled via a separate channel, the data processed via `input_buffer` is typically just explicit keys as typed in by the user. Therefore it should be fine to use `memmove()` to always put the remaining data in front when refilling the buffer.
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index cf1324d37f..db7f16131b 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -154,7 +154,6 @@ void event_init(void) loop_init(&main_loop, NULL); resize_events = multiqueue_new_child(main_loop.events); - input_init(); signal_init(); // mspgack-rpc initialization channel_init(); |