mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: reduce scrollback line count
More than 1000 lines and we start exhibiting bad cache behavior
This commit is contained in:
parent
74ab120101
commit
4ffd93ca4c
1 changed files with 1 additions and 1 deletions
2
render.c
2
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue