From 4ffd93ca4cb8abc54aacb3e554d0b91225d9376d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 10 Jul 2019 18:49:34 +0200 Subject: [PATCH] render: reduce scrollback line count More than 1000 lines and we start exhibiting bad cache behavior --- render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render.c b/render.c index 894bc939..a97e53cb 100644 --- a/render.c +++ b/render.c @@ -379,7 +379,7 @@ render_resize(struct terminal *term, int width, int height) term->width = width; term->height = height; - const int scrollback_lines = 10000; + const int scrollback_lines = 1000; const int old_cols = term->cols; const int old_rows = term->rows;