commit e16026eacd9b19451ef3037831aee7b40db82192
parent 90f18af8bd66e9a4a58e8f38e117dd3c1bbe99b7
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 15 Dec 2019 15:34:21 +0100
linter: beep when trying to go beyond first or last message
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/text.c b/src/text.c
@@ -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);