summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
authorC. McEnroe2020-02-10 03:10:08 -0500
committerC. McEnroe2020-02-10 03:10:08 -0500
commit7a8024ae3dbe0c2c52b6536fb73dd33071e00637 (patch)
tree3ca092a51c268357f219bd0c46d2559bb7c17be7 /ui.c
parent3c898576524a8384a81a21aa58d0ba1b3d354322 (diff)
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.
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
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();
 }