nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit f887298c6e1c4a1a7bf21c403fdeb194166598d1
parent db6015c7d7b32ce5105e30969168bbcf84f81943
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun, 12 Sep 2004 21:30:36 +0000

don't let meta sequences get through to do_char()


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1935 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/nano.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nano.c b/src/nano.c @@ -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))