From: Chris Allegretta Date: Thu, 4 Jan 2001 04:41:08 +0000 (+0000) Subject: Added fkey equivs to browser X-Git-Tag: v0.9.25~21 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6e82741931b18f9d2d987449d21b36dd1d47e962;p=nano.git Added fkey equivs to browser git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@439 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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; }