summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 7f02626..c599f0e 100644
--- a/degesch.c
+++ b/degesch.c
@@ -12511,7 +12511,8 @@ display_backlog (struct app_context *ctx, int flush_opts)
if (until_marker-- == 0
&& buffer->new_messages_count != buffer->lines_count)
buffer_print_read_marker (ctx, backlog, flush_opts);
- buffer_line_write_to_backlog (ctx, line, backlog, flush_opts);
+ if (buffer_line_will_show_up (buffer, line))
+ buffer_line_write_to_backlog (ctx, line, backlog, flush_opts);
}
// So that it is obvious if the last line in the buffer is not from today