diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/getchar.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index bf72f03729..d70d04cb4b 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -2495,12 +2495,11 @@ int inchar( return fix_input_buffer(buf, len); } -/* - * Fix typed characters for use by vgetc() and check_termcode(). - * buf[] must have room to triple the number of bytes! - * Returns the new length. - */ +// Fix typed characters for use by vgetc() and check_termcode(). +// "buf[]" must have room to triple the number of bytes! +// Returns the new length. int fix_input_buffer(char_u *buf, int len) + FUNC_ATTR_NONNULL_ALL { if (!using_script()) { // Should not escape K_SPECIAL/CSI reading input from the user because vim |