diff --git a/ChangeLog b/ChangeLog index 6e4aeb493ec1c109f5e33510ce7a4b4dd8264e22..0fb0bd88b308d8775816b0e86ad110831e7ebc50 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 54d13d7f9958e256a99368fadbcac73cc7d3a0a9..c46627e1838298a1531f1ee2d98c8e9ff20ba87d 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