terminal: track whether the scrollback is limited

The terminal will have an unlimited scrollback mode
where new memory is allocated when it is filled up.
This commit is contained in:
Matheus Afonso Martins Moreira 2024-04-07 05:42:12 -03:00
parent 5e344d2b86
commit 297b5c4734
2 changed files with 2 additions and 0 deletions

View file

@ -1266,6 +1266,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper,
.queue = tll_init(),
},
},
.unlimited_scrollback = conf->scrollback.unlimited,
.delayed_render_timer = {
.is_armed = false,
.lower_fd = delay_lower_fd,