diff options
author | June McEnroe <june@causal.agency> | 2020-09-02 16:52:57 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-09-02 16:52:57 -0400 |
commit | 99612ad8eb6261fc37b179e7e22ca09d9a8ca6ab (patch) | |
tree | 63779c13247374cffc60258efcb4d9c1b5cc456c /ui.c | |
parent | Actually insert blank lines in the soft buffer (diff) | |
download | test-99612ad8eb6261fc37b179e7e22ca09d9a8ca6ab.tar.gz test-99612ad8eb6261fc37b179e7e22ca09d9a8ca6ab.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |