From e16026eacd9b19451ef3037831aee7b40db82192 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 15 Dec 2019 15:34:21 +0100 Subject: [PATCH] linter: beep when trying to go beyond first or last message --- src/text.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/text.c b/src/text.c index 53867c8b..a8b08a08 100644 --- 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);