mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-15 11:17:58 +01:00
Use fixed size scrollback with Avt - fixes memory leak
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user