nano

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

commit b8c51329f6d8c305d0107819eda060a75c8277c9
parent bab5eeb808afb9c5f9132b413dd1b5e70b01ab58
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 21 Oct 2018 13:02:07 +0200

linter: for "first"/"last", reshow actual message after a short pause

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

Diffstat:
Msrc/text.c | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/text.c b/src/text.c @@ -3281,13 +3281,19 @@ void do_linter(void) } else if (func == do_page_up || func == do_prev_block) { if (curlint->prev != NULL) curlint = curlint->prev; - else + else { statusbar(_("At first message")); + napms(600); + statusbar(curlint->msg); + } } else if (func == do_page_down || func == do_next_block) { if (curlint->next != NULL) curlint = curlint->next; - else + else { statusbar(_("At last message")); + napms(600); + statusbar(curlint->msg); + } } }