From 99612ad8eb6261fc37b179e7e22ca09d9a8ca6ab Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Wed, 2 Sep 2020 16:52:57 -0400 Subject: 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. --- ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui.c') diff --git a/ui.c b/ui.c index 93c98bb..a6f78da 100644 --- a/ui.c +++ b/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)]; time_t ts = (src ? *src : time(NULL)); if (heat < Cold && window->ignore) { - bufferPush(window->buffer, COLS, heat, ts, str); + window->unreadHard += bufferPush(window->buffer, COLS, heat, ts, str); return; } -- cgit 1.4.1-2-gfad0