]> git.wh0rd.org Git - nano.git/commitdiff
Accept s and S silently to selected a file/dir
authorChris Allegretta <chrisa@asty.org>
Thu, 4 Jan 2001 05:22:46 +0000 (05:22 +0000)
committerChris Allegretta <chrisa@asty.org>
Thu, 4 Jan 2001 05:22:46 +0000 (05:22 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@443 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

files.c

diff --git a/files.c b/files.c
index e452966bf7c9948a77b596f8dd2a8f90c3ffe451..f74a15d8ade3c0ec256b1da7bf23ccdb02c64ce0 100644 (file)
--- a/files.c
+++ b/files.c
@@ -1294,6 +1294,8 @@ char *do_browser(char *inpath)
            break;
        case KEY_ENTER:
        case NANO_CONTROL_M:
+       case 's': /* More Pico compatibility */
+       case 'S':
 
            /* You can't cd up from / */
            if (!strcmp(filelist[selected], "/..") && !strcmp(path, "/"))