From ba8edea860b399b9f25ccda6dd5470c20ed7b092 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Thu, 4 Jan 2001 05:22:46 +0000 Subject: [PATCH] Accept s and S silently to selected a file/dir git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@443 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- files.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files.c b/files.c index e452966b..f74a15d8 100644 --- 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, "/")) -- 2.39.5