aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-10 16:49:34 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-10 16:49:34 +0000
commit4ffd93ca4cb8abc54aacb3e554d0b91225d9376d (patch)
tree2e4978e203e139f434a62c101047508dfb233b60 /render.c
parentterminal: use floats instead of double for colors (diff)
render: reduce scrollback line count
More than 1000 lines and we start exhibiting bad cache behavior
Diffstat (limited to 'render.c')
-rw-r--r--render.c2
1 files changed, 1 insertions, 1 deletions
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;