Still add ignored lines to unreadHard
Scrolling is still affected by hidden lines (which I'm not sure yet is good or not), so for M-u to work it needs to count ignored lines.weechat-hashes
parent
d00b3d3b70
commit
99612ad8eb
2
ui.c
2
ui.c
|
@ -538,7 +538,7 @@ void uiWrite(uint id, enum Heat heat, const time_t *src, const char *str) {
|
||||||
struct Window *window = windows.ptrs[windowFor(id)];
|
struct Window *window = windows.ptrs[windowFor(id)];
|
||||||
time_t ts = (src ? *src : time(NULL));
|
time_t ts = (src ? *src : time(NULL));
|
||||||
if (heat < Cold && window->ignore) {
|
if (heat < Cold && window->ignore) {
|
||||||
bufferPush(window->buffer, COLS, heat, ts, str);
|
window->unreadHard += bufferPush(window->buffer, COLS, heat, ts, str);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue