linter: beep when trying to go beyond first or last message
parent
90f18af8bd
commit
e16026eacd
|
@ -2991,6 +2991,7 @@ void do_linter(void)
|
||||||
curlint = curlint->prev;
|
curlint = curlint->prev;
|
||||||
else if (last_wait != time(NULL)) {
|
else if (last_wait != time(NULL)) {
|
||||||
statusbar(_("At first message"));
|
statusbar(_("At first message"));
|
||||||
|
beep();
|
||||||
napms(600);
|
napms(600);
|
||||||
last_wait = time(NULL);
|
last_wait = time(NULL);
|
||||||
statusline(NOTICE, curlint->msg);
|
statusline(NOTICE, curlint->msg);
|
||||||
|
@ -3000,6 +3001,7 @@ void do_linter(void)
|
||||||
curlint = curlint->next;
|
curlint = curlint->next;
|
||||||
else if (last_wait != time(NULL)) {
|
else if (last_wait != time(NULL)) {
|
||||||
statusbar(_("At last message"));
|
statusbar(_("At last message"));
|
||||||
|
beep();
|
||||||
napms(600);
|
napms(600);
|
||||||
last_wait = time(NULL);
|
last_wait = time(NULL);
|
||||||
statusline(NOTICE, curlint->msg);
|
statusline(NOTICE, curlint->msg);
|
||||||
|
|
Loading…
Reference in New Issue