diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-09 12:34:39 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-09 14:58:57 -0500 |
commit | 44359ce5f1d4f13df5426175a5cbff45448c0c08 (patch) | |
tree | f25c11102f0563a4007adb5ecd91067f1068a624 /examples/process.rs | |
parent | 6052f0918ae43a33e1edcfffa37ecac0ca144070 (diff) | |
download | vt100-rust-44359ce5f1d4f13df5426175a5cbff45448c0c08.tar.gz vt100-rust-44359ce5f1d4f13df5426175a5cbff45448c0c08.zip |
optionally save scrollback rows
Diffstat (limited to 'examples/process.rs')
-rw-r--r-- | examples/process.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/process.rs b/examples/process.rs index ea36db1..a556b96 100644 --- a/examples/process.rs +++ b/examples/process.rs @@ -12,7 +12,7 @@ fn read_frames() -> impl Iterator<Item = Vec<u8>> { } fn process_frames(frames: &[Vec<u8>]) { - let mut parser = vt100::Parser::new(24, 80); + let mut parser = vt100::Parser::new(24, 80, 0); for frame in frames { parser.process(&frame); } |