nano

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

commit e0c7ff2a7ebe94fc72e41797c36106eb3e77c220
parent 84f8df2df82823b9f424be046b4bf46053d5430d
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu, 24 May 2018 11:34:22 +0200

linter: make sure the shortcuts bar will redrawn when exiting early

The two help lines will be redrawn in main() only when the current
menu is not MMAIN.  So, set it to MLINTER as soon as the help lines
are cleared, just before preparing to invoke the linter.

This fixes https://savannah.gnu.org/bugs/?53967.
Reported-by: Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com>

Diffstat:
Msrc/text.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/text.c b/src/text.c @@ -3116,6 +3116,7 @@ void do_linter(void) } blank_bottombars(); + currmenu = MLINTER; statusbar(_("Invoking linter, please wait")); construct_argument_list(&lintargs, openfile->syntax->linter, openfile->filename);