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.
This commit is contained in:
父節點
3c89857652
當前提交
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();
|
||||
}
|
||||
lines += wordWrap(window->pad, str);
|
||||
if (window->mark) window->unreadLines += lines;
|
||||
window->unreadLines += lines;
|
||||
if (window->scroll) windowScroll(window, lines);
|
||||
if (heat > Warm) beep();
|
||||
}
|
||||
|
||||
載入中…
x
新增問題並參考
Block a user