summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui.c2
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;
 	}