diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-03-17 06:21:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-17 13:21:24 +0800 |
commit | d238b8f6003d34cae7f65ff7585b48a2cd9449fb (patch) | |
tree | 743b7bf9e15c0587c09dff05a84468114db664e4 /src/nvim/tui/input.c | |
parent | 746a29c58041e0470a4e8f9446378caba32f037c (diff) | |
download | rneovim-d238b8f6003d34cae7f65ff7585b48a2cd9449fb.tar.gz rneovim-d238b8f6003d34cae7f65ff7585b48a2cd9449fb.tar.bz2 rneovim-d238b8f6003d34cae7f65ff7585b48a2cd9449fb.zip |
chore: fix typos (#17670)
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/nvim/tui/input.c')
-rw-r--r-- | src/nvim/tui/input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/tui/input.c b/src/nvim/tui/input.c index b262fc6c54..26b3dd6e92 100644 --- a/src/nvim/tui/input.c +++ b/src/nvim/tui/input.c @@ -115,6 +115,7 @@ static void tinput_wait_enqueue(void **argv) { TermInput *input = argv[0]; if (rbuffer_size(input->key_buffer) == 0 && input->paste == 3) { + // End streamed paste with an empty string. const String keys = { .data = "", .size = 0 }; String copy = copy_string(keys); multiqueue_put(main_loop.events, tinput_paste_event, 3, |