commit c073c5ae543f085464ebcc34e3afb52cbef0e515 parent fc0ddab349d9a6d1d74564a1b474d6476b0e251d Author: Benno Schulenberg <bensberg@justemail.net> Date: Sun, 24 Jul 2016 13:09:24 +0200 tweaks: don't bother resetting the Unicode code holder It will be initialized when a new code is started. Diffstat:
M | src/winio.c | | | 7 | ++----- |
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/winio.c b/src/winio.c @@ -1290,12 +1290,9 @@ long get_unicode_kbinput(WINDOW *win, int kbinput) break; } - /* If we have a full result, reset the Unicode digit counter and the - * Unicode sequence holder. */ - if (retval != ERR) { + /* If we have a full result, reset the Unicode digit counter. */ + if (retval != ERR) uni_digits = 0; - uni = 0; - } /* Show feedback only when editing, not when at a prompt. */ else if (win == edit) { char partial[7] = "......";