From 6e82741931b18f9d2d987449d21b36dd1d47e962 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Thu, 4 Jan 2001 04:41:08 +0000 Subject: [PATCH] Added fkey equivs to browser git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@439 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- files.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files.c b/files.c index 5e1fd5f6..060a5db7 100644 --- a/files.c +++ b/files.c @@ -1238,6 +1238,7 @@ char *do_browser(char *inpath) selected++; break; case NANO_PREVPAGE_KEY: + case NANO_PREVPAGE_FKEY: case KEY_PPAGE: if ((selected / width) % editwinrows == 0) { if (selected - (editwinrows * width) >= 0) @@ -1253,6 +1254,7 @@ char *do_browser(char *inpath) selected = 0; break; case NANO_NEXTPAGE_KEY: + case NANO_NEXTPAGE_FKEY: case KEY_NPAGE: if ((selected / width) % editwinrows == 0) { if (selected + (editwinrows * width) <= numents - 1) @@ -1302,6 +1304,7 @@ char *do_browser(char *inpath) case 'Q': case 'e': /* Pico compatibility, yeech */ case 'E': + case NANO_EXIT_FKEY: abort = 1; break; } -- 2.39.5