From: David Lawrence Ramsey Date: Sun, 12 Sep 2004 22:01:38 +0000 (+0000) Subject: revert the blocking of meta sequences in main(), as it doesn't solve the X-Git-Tag: v1.3.5~183 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e6ef8b9bb9bb66a0d0d2184c78f25dfb32c41afe;p=nano.git 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 --- 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))