diff options
| author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-03-28 02:32:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-28 09:32:32 +0800 |
| commit | a89ce89742db600665b69e58d5e1bc3dbee9d57b (patch) | |
| tree | fdb467f608d96c293aa51b4c1e7291e8bc0de825 /src/nvim/os | |
| parent | 4ee9e58056a9d17ce921d8cc6dfd6d3305a40f69 (diff) | |
| download | rneovim-a89ce89742db600665b69e58d5e1bc3dbee9d57b.tar.gz rneovim-a89ce89742db600665b69e58d5e1bc3dbee9d57b.tar.bz2 rneovim-a89ce89742db600665b69e58d5e1bc3dbee9d57b.zip | |
docs: fix typos (#27868)
Co-authored-by: ite-usagi <77563904+ite-usagi@users.noreply.github.com>
Co-authored-by: v-sim <56476039+v-sim@users.noreply.github.com>
Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Quico Augustijn <quico.public@gmail.com>
Co-authored-by: nhld <nahnera@gmail.com>
Co-authored-by: francisco souza <108725+fsouza@users.noreply.github.com>
Diffstat (limited to 'src/nvim/os')
| -rw-r--r-- | src/nvim/os/input.c | 3 | ||||
| -rw-r--r-- | src/nvim/os/shell.c | 7 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/nvim/os/input.c b/src/nvim/os/input.c index fab360c9af..baa99fca65 100644 --- a/src/nvim/os/input.c +++ b/src/nvim/os/input.c @@ -351,8 +351,7 @@ static uint8_t check_multiclick(int code, int grid, int row, int col) return modifiers; } -// Mouse event handling code(Extract row/col if available and detect multiple -// clicks) +/// Mouse event handling code (extract row/col if available and detect multiple clicks) static unsigned handle_mouse_event(const char **ptr, uint8_t *buf, unsigned bufsize) { int mouse_code = 0; diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c index 46ba13c4cd..2a10510b0f 100644 --- a/src/nvim/os/shell.c +++ b/src/nvim/os/shell.c @@ -1117,8 +1117,8 @@ static void out_data_ring(char *output, size_t size) /// Continue to append data to last screen line. /// /// @param output Data to append to screen lines. -/// @param remaining Size of data. -/// @param new_line If true, next data output will be on a new line. +/// @param count Size of data. +/// @param eof If true, there will be no more data output. static void out_data_append_to_screen(char *output, size_t *count, bool eof) FUNC_ATTR_NONNULL_ALL { @@ -1168,8 +1168,7 @@ static void out_data_cb(Stream *stream, RBuffer *buf, size_t count, void *data, rbuffer_consumed(buf, cnt); } - // Move remaining data to start of buffer, so the buffer can never - // wrap around. + // Move remaining data to start of buffer, so the buffer can never wrap around. rbuffer_reset(buf); } |