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.
weechat-hashes
C. McEnroe 2020-02-10 03:10:08 -05:00
parent 3c89857652
commit 7a8024ae3d
1 changed files with 1 additions and 1 deletions

2
ui.c
View File

@ -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();
}