nano

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

commit ac9550d4c248f75994529f1dd2b2f834a4be3247
parent 1423e571992a890cbe1f81475261375b160fb1f4
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Mon,  1 May 2017 17:11:44 +0200

tweaks: remove two superfluous calls of wnoutrefresh()

The bottomwin has just been refreshed by update_the_statusbar(),
and it should not be the responsibility of the prompt routines
to keep the edit window up to date, as they don't write anything
there.

Diffstat:
Msrc/prompt.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/prompt.c b/src/prompt.c @@ -459,10 +459,6 @@ functionptrtype acquire_an_answer(int *actual, bool allow_tabs, update_the_statusbar(); - /* Refresh edit window and statusbar before getting input. */ - wnoutrefresh(edit); - wnoutrefresh(bottomwin); - while (TRUE) { /* Ensure the cursor is shown when waiting for input. */ curs_set(1);