linter: for "first"/"last", reshow actual message after a short pause
This fixes https://savannah.gnu.org/bugs/?54754.master
parent
bab5eeb808
commit
b8c51329f6
10
src/text.c
10
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue