From 7a8024ae3dbe0c2c52b6536fb73dd33071e00637 Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Mon, 10 Feb 2020 03:10:08 -0500 Subject: Always increase unreadLines So that if you switch to a window and some new activity happens before you press M-u, it'll still jump to the right place. --- ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.c b/ui.c index d35c02d..1d1e46c 100644 --- a/ui.c +++ b/ui.c @@ -497,7 +497,7 @@ void uiWrite(size_t id, enum Heat heat, const time_t *src, const char *str) { statusUpdate(); } lines += wordWrap(window->pad, str); - if (window->mark) window->unreadLines += lines; + window->unreadLines += lines; if (window->scroll) windowScroll(window, lines); if (heat > Warm) beep(); } -- cgit 1.4.1-2-gfad0