]> git.wh0rd.org Git - nano.git/commitdiff
don't let meta sequences get through to do_char()
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Sun, 12 Sep 2004 21:30:36 +0000 (21:30 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Sun, 12 Sep 2004 21:30:36 +0000 (21:30 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1935 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/nano.c

index f187961f99e30819bbcd788935ff9d98d35574e1..a5688de44d67582d467129e26ad8dd871cb4f43b 100644 (file)
@@ -3492,7 +3492,7 @@ int main(int argc, char **argv)
        kbinput = get_edit_input(&meta_key, TRUE);
 
        /* Last gasp, stuff that's not in the main lists. */
-       if (kbinput != ERR && !is_cntrl_char(kbinput)) {
+       if (kbinput != ERR && !meta_key && !is_cntrl_char(kbinput)) {
            /* Don't stop unhandled sequences, so that people with odd
             * character sets can type. */
            if (ISSET(VIEW_MODE))