linter: beep when trying to go beyond first or last message

master
Benno Schulenberg 2019-12-15 15:34:21 +01:00
parent 90f18af8bd
commit e16026eacd
1 changed files with 2 additions and 0 deletions

View File

@ -2991,6 +2991,7 @@ void do_linter(void)
curlint = curlint->prev;
else if (last_wait != time(NULL)) {
statusbar(_("At first message"));
beep();
napms(600);
last_wait = time(NULL);
statusline(NOTICE, curlint->msg);
@ -3000,6 +3001,7 @@ void do_linter(void)
curlint = curlint->next;
else if (last_wait != time(NULL)) {
statusbar(_("At last message"));
beep();
napms(600);
last_wait = time(NULL);
statusline(NOTICE, curlint->msg);