nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 0fb841a78a003855f746c531ca153091a4a51084
parent cff5558394e58727b8d5adf611a03d492feeced9
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Thu,  1 Jul 2004 17:04:23 +0000

per DB's patch, tweak the code to update the edit window just before
getting statusbar input for efficiency, and update bottomwin just before
then too


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1833 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 4++++
Msrc/winio.c | 3++-
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git 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 @@ -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