nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 999d99c6e48587a2416e34a980d375bfe9706492
parent 6e73805a0d13c24da496a8a6940e9a9210dfd322
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sun,  9 Apr 2017 13:31:02 +0200

tweaks: delete a function that hasn't been used since 2005

Diffstat:
Msrc/winio.c | 20--------------------
1 file changed, 0 insertions(+), 20 deletions(-)

diff --git a/src/winio.c b/src/winio.c @@ -1445,26 +1445,6 @@ int get_control_kbinput(int kbinput) return retval; } -/* Put the output-formatted characters in output back into the keystroke - * buffer, so that they can be parsed and displayed as output again. */ -void unparse_kbinput(char *output, size_t output_len) -{ - int *input; - size_t i; - - if (output_len == 0) - return; - - input = (int *)nmalloc(output_len * sizeof(int)); - - for (i = 0; i < output_len; i++) - input[i] = (int)output[i]; - - unget_input(input, output_len); - - free(input); -} - /* Read in a stream of characters verbatim, and return the length of the * string in kbinput_len. Assume nodelay(win) is FALSE. */ int *get_verbatim_kbinput(WINDOW *win, size_t *kbinput_len)