Commit 999d99c6 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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

No related merge requests found
Showing with 0 additions and 20 deletions
+0 -20
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment