mirror of git://git.sv.gnu.org/nano.git
verbatim: do not report "Invalid code" when a Unicode character is typed
This fixes https://savannah.gnu.org/bugs/?58928.
Bug existed since version 5.0, commit 5899181a
.
This commit is contained in:
parent
8e226a9f28
commit
1551c1c771
|
@ -1465,7 +1465,7 @@ char *get_verbatim_kbinput(WINDOW *win, size_t *count)
|
|||
beep();
|
||||
} else if (*input >= 0x80 && *count == 1) {
|
||||
put_back(*input);
|
||||
*count = 0;
|
||||
*count = 999;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue