From: Chris Allegretta Date: Thu, 4 Jan 2001 05:22:46 +0000 (+0000) Subject: Accept s and S silently to selected a file/dir X-Git-Tag: v0.9.25~17 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ba8edea860b399b9f25ccda6dd5470c20ed7b092;p=nano.git 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 --- 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, "/"))