allow input of chars > ZC_LATIN1_MAX
authorborg323 <4010067-borg323@users.noreply.gitlab.com>
Mon, 20 May 2019 23:53:19 +0000 (02:53 +0300)
committerDavid Griffith <dave@661.org>
Mon, 27 May 2019 02:32:11 +0000 (19:32 -0700)
src/curses/ux_input.c

index e3c0358c8650c8009e75bee3a3d9f312563ad099..f6bf495d7b7aee56aa3ccbd4146a9a80d33ecdc7 100644 (file)
@@ -751,7 +751,7 @@ zchar os_read_line (int bufmax, zchar *buf, int timeout, int width,
            /* ASCII or ISO-Latin-1 */
            if ((ch >= ZC_ASCII_MIN && ch <= ZC_ASCII_MAX)
                || (!u_setup.plain_ascii
-                   && ch >= ZC_LATIN1_MIN && ch <= ZC_LATIN1_MAX)) {
+                   && ch >= ZC_LATIN1_MIN /*&& ch <= ZC_LATIN1_MAX*/)) {
                searchpos = -1;
                if ((scrpos == max) || (insert_flag && (len == max))) {
                    os_beep(BEEP_HIGH);