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
parent
3c89857652
commit
7a8024ae3d
2
ui.c
2
ui.c
|
@ -497,7 +497,7 @@ void uiWrite(size_t id, enum Heat heat, const time_t *src, const char *str) {
|
||||||
statusUpdate();
|
statusUpdate();
|
||||||
}
|
}
|
||||||
lines += wordWrap(window->pad, str);
|
lines += wordWrap(window->pad, str);
|
||||||
if (window->mark) window->unreadLines += lines;
|
window->unreadLines += lines;
|
||||||
if (window->scroll) windowScroll(window, lines);
|
if (window->scroll) windowScroll(window, lines);
|
||||||
if (heat > Warm) beep();
|
if (heat > Warm) beep();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue