nano

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

commit 656563beda6111c0b8d509007beed353f2edc152
parent 8f95f9b1aa496e18a60203d0b3e2ae4804176644
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Thu,  1 Dec 2016 15:52:57 +0100

screen: don't restore the previous menu after a yesno prompt

There is no need for that -- it just causes flicker.

This fixes https://savannah.gnu.org/bugs/?49742.

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

diff --git a/src/prompt.c b/src/prompt.c @@ -729,7 +729,6 @@ int do_prompt(bool allow_tabs, int do_yesno_prompt(bool all, const char *msg) { int response = -2, width = 16; - int oldmenu = currmenu; /* TRANSLATORS: For the next three strings, if possible, specify * the single-byte shortcuts for both your language and English. * For example, in French: "OoYy", for both "Oui" and "Yes". */ @@ -833,8 +832,5 @@ int do_yesno_prompt(bool all, const char *msg) } } while (response == -2); - /* Restore the previously active menu. */ - bottombars(oldmenu); - return response; }