render: reduce scrollback line count

More than 1000 lines and we start exhibiting bad cache behavior
This commit is contained in:
Daniel Eklöf 2019-07-10 18:49:34 +02:00
parent 74ab120101
commit 4ffd93ca4c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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;