From e6ef8b9bb9bb66a0d0d2184c78f25dfb32c41afe Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 12 Sep 2004 22:01:38 +0000 Subject: [PATCH] revert the blocking of meta sequences in main(), as it doesn't solve the problem of meta sequences' sometimes being interpreted as printable characters when they shouldn't be git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1937 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 2 -- src/nano.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 362e5350..a0e0d205 100644 --- a/ChangeLog +++ b/ChangeLog @@ -71,8 +71,6 @@ CVS code - do_para_begin(), do_para_end() - Maintain current_y's value when moving up or down lines so that smooth scrolling works correctly. (DLR) - main() - - Don't let meta sequences get through to do_char(). (DLR) - nano.h: - Add WIDTH_OF_TAB #define, containing the default width of a tab. (DLR) diff --git a/src/nano.c b/src/nano.c index f1ac3255..a2943cea 100644 --- 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 && !meta_key && !is_cntrl_char(kbinput)) { + if (kbinput != ERR && !is_cntrl_char(kbinput)) { /* Don't stop unhandled printable sequences, so that people * with odd character sets can type. */ if (ISSET(VIEW_MODE)) -- 2.39.5