diff options
author | June McEnroe <june@causal.agency> | 2020-02-10 03:10:08 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-10 03:10:08 -0500 |
commit | 7a8024ae3dbe0c2c52b6536fb73dd33071e00637 (patch) | |
tree | 3ca092a51c268357f219bd0c46d2559bb7c17be7 | |
parent | Move scroll marker on resize (diff) | |
download | catgirl-7a8024ae3dbe0c2c52b6536fb73dd33071e00637.tar.gz catgirl-7a8024ae3dbe0c2c52b6536fb73dd33071e00637.zip |
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 '')
-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(); } |