input: consume only the actual length of an escape sequence
Instead of assuming that the entire contents of the keybuffer are an escape sequence (even if this is far longer than any escape sequence can be), remove from the keybuffer only those integers that actually constituted a sequence, valid or invalid. This fixes https://savannah.gnu.org/bugs/?48659.
Showing
+29 -10
Please register or sign in to comment