diff --git a/ChangeLog b/ChangeLog index 6e4aeb49..0fb0bd88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,10 @@ CVS code - get_control_kbinput() - Fix erroneous debugging statement so that nano compiles with --enable-debug again. (Jon Oberheide) + nanogetstr() + - Tweak the code to update the edit window just before getting + statusbar input for efficiency, and update bottomwin just + before then too. (David Benbennick) GNU nano 1.3.3 - 2004.06.28 - General: diff --git a/src/winio.c b/src/winio.c index 54d13d7f..c46627e1 100644 --- a/src/winio.c +++ b/src/winio.c @@ -1589,7 +1589,8 @@ int nanogetstr(int allowtabs, const char *buf, const char *def, /* Make sure any editor screen updates are displayed before getting input */ - wrefresh(edit); + wnoutrefresh(edit); + wrefresh(bottomwin); /* If we're using restricted mode, we aren't allowed to change the * name of a file once it has one because that would allow writing