Use fixed size scrollback with Avt - fixes memory leak

This commit is contained in:
Marcin Kulik
2025-06-23 17:23:06 +02:00
parent c9e9da604f
commit aabfee1398

View File

@@ -172,6 +172,7 @@ impl Subscriber {
fn build_vt(tty_size: TtySize) -> Vt {
Vt::builder()
.size(tty_size.0 as usize, tty_size.1 as usize)
.scrollback_limit(1000)
.build()
}