nano

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

commit e6ef8b9bb9bb66a0d0d2184c78f25dfb32c41afe
parent 807657b0fe0e6a8739ef82c71b045a775c30718d
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun, 12 Sep 2004 22:01:38 +0000

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

Diffstat:
MChangeLog | 2--
Msrc/nano.c | 2+-
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git 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 @@ -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))