]> git.wh0rd.org Git - nano.git/commitdiff
Added fkey equivs to browser
authorChris Allegretta <chrisa@asty.org>
Thu, 4 Jan 2001 04:41:08 +0000 (04:41 +0000)
committerChris Allegretta <chrisa@asty.org>
Thu, 4 Jan 2001 04:41:08 +0000 (04:41 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@439 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

files.c

diff --git a/files.c b/files.c
index 5e1fd5f6184ecb21f74af0f85ad3d83c42a9ed5f..060a5db73723532171874133807c0d3814f665fe 100644 (file)
--- 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;
        }