diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-11-15 01:32:49 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-11-15 01:32:49 +0100 |
commit | 153d8c55d94146b83e06859f583a69f8ecfb5aba (patch) | |
tree | 6a8aa6429cd7f7df82cde859613d15d41b8f8b59 /degesch.c | |
parent | d14bc2df53b8f61811b21a7b4a2ec8ec9e414a07 (diff) | |
download | xK-153d8c55d94146b83e06859f583a69f8ecfb5aba.tar.gz xK-153d8c55d94146b83e06859f583a69f8ecfb5aba.tar.xz xK-153d8c55d94146b83e06859f583a69f8ecfb5aba.zip |
degesch: don't spam with all unseen messages
On high-traffic channels, it has shown to take quite some time.
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |