allow refreshing of the file browser window, as Pico does

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2388 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey
2005-03-17 19:10:29 +00:00
parent 85616c499b
commit b349c80f0d
3 changed files with 12 additions and 0 deletions

View File

@@ -2584,6 +2584,11 @@ char *do_browser(char *path, DIR *dir)
free_charptrarray(filelist, numents);
goto change_browser_directory;
/* Refresh the screen. */
case NANO_REFRESH_KEY:
total_update();
break;
/* Go to a specific directory. */
case NANO_GOTOLINE_KEY:
case NANO_GOTOLINE_FKEY: