From aabfee13985b005ab383092d92b397a292559502 Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Mon, 23 Jun 2025 17:23:06 +0200 Subject: [PATCH] Use fixed size scrollback with Avt - fixes memory leak --- src/stream.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stream.rs b/src/stream.rs index 1f9c910..100a9ca 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -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() }