diff --git a/ChangeLog b/ChangeLog index 28f37efca543ce179b1f7e3cb9631c5c8ab54902..587c93de5053535e89c79156ce1cbd242b42e15a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -116,6 +116,9 @@ CVS code - - If there are more than MAIN_VISIBLE shortcuts available, only register clicks on the first MAIN_VISIBLE shortcuts, since bottombars() only shows that many shortcuts. (DLR) + nanogetstr() + - Refresh the screen when Ctrl-L is pressed at the statusbar + prompt, as Pico does. (DLR) reset_cursor() - If this is called before any files have been opened, as it can be by statusbar(), put the cursor at the top left corner of diff --git a/src/winio.c b/src/winio.c index 0faedd7daa38aa18f8b98f1c794ce1afb7e5d5b0..67934aa11dc43444db139343e23e27fda8bbf5ec 100644 --- a/src/winio.c +++ b/src/winio.c @@ -1855,6 +1855,9 @@ int nanogetstr(int allowtabs, const char *buf, const char *def, } break; #endif + case NANO_REFRESH_KEY: + total_refresh(); + break; case NANO_HOME_KEY: #ifndef NANO_SMALL if (ISSET(SMART_HOME)) {