nano

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

commit 19b9e2be94f6415fb3d3a4327db81130d41f514a
parent 3f583165c4590ff94e543270b7a298e3164387fb
Author: Chris Allegretta <chrisa@asty.org>
Date:   Sun,  7 Jan 2001 07:31:12 +0000

Oops, restore keypad() call when using PDCURSES


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

Diffstat:
Mnano.c | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/nano.c b/nano.c @@ -2253,6 +2253,12 @@ int main(int argc, char *argv[]) edit_refresh(); reset_cursor(); +#ifdef PDCURSES + /* Oops, I guess we need this again */ + keypad(edit, TRUE); + keypad(bottomwin, TRUE); +#endif + while (1) { #ifndef _POSIX_VDISABLE