From 153d8c55d94146b83e06859f583a69f8ecfb5aba Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sun, 15 Nov 2015 01:32:49 +0100 Subject: degesch: don't spam with all unseen messages On high-traffic channels, it has shown to take quite some time. --- degesch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/degesch.c b/degesch.c index d0aca74..03244f4 100644 --- a/degesch.c +++ b/degesch.c @@ -3168,8 +3168,7 @@ buffer_print_backlog (struct app_context *ctx, struct buffer *buffer) free (buffer_name_localized); // That is, minus the buffer switch line and the readline prompt - int display_limit = MAX (MAX (10, - (int) buffer->unseen_messages_count), g_terminal.lines - 2); + int display_limit = MAX (10, g_terminal.lines - 2); struct buffer_line *line = buffer->lines_tail; int to_display = line != NULL; -- cgit v1.2.3-70-g09d2