diff options
author | C. McEnroe | 2020-02-10 03:10:08 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-10 03:10:08 -0500 |
commit | 7a8024ae3dbe0c2c52b6536fb73dd33071e00637 (patch) | |
tree | 3ca092a51c268357f219bd0c46d2559bb7c17be7 /ui.c | |
parent | 3c898576524a8384a81a21aa58d0ba1b3d354322 (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.c | 2 |
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(); } |