]> git.tue.mpg.de Git - paraslash.git/commitdiff
gui: Clear status bar after pressing <End>.
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 7 Jul 2023 20:23:45 +0000 (22:23 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 24 Dec 2023 21:37:00 +0000 (22:37 +0100)
Without this a stale message such as

"scrolled view: 1-36/42"

remains although the window has been updated to show the bottom of
the ringbuffer.

gui.c

diff --git a/gui.c b/gui.c
index 0f3a3550b44317d59bad1fcf1dd9dbe55820dc2b..66fb7870bd65868a750b5918747da59ad4681b6d 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -1166,6 +1166,7 @@ static void com_cancel_scroll(void)
        }
        scroll_position = 0;
        redraw_bot_win();
+       print_in_bar(COLOR_MSG, " ");
 }
 
 static void com_page_down(void)