aboutsummaryrefslogtreecommitdiffstats
path: root/tests/processing.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-09 12:34:39 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-09 14:58:57 -0500
commit44359ce5f1d4f13df5426175a5cbff45448c0c08 (patch)
treef25c11102f0563a4007adb5ecd91067f1068a624 /tests/processing.rs
parent6052f0918ae43a33e1edcfffa37ecac0ca144070 (diff)
downloadvt100-rust-44359ce5f1d4f13df5426175a5cbff45448c0c08.tar.gz
vt100-rust-44359ce5f1d4f13df5426175a5cbff45448c0c08.zip
optionally save scrollback rows
Diffstat (limited to 'tests/processing.rs')
-rw-r--r--tests/processing.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/processing.rs b/tests/processing.rs
index 4fdb8cb..7cc384c 100644
--- a/tests/processing.rs
+++ b/tests/processing.rs
@@ -2,7 +2,7 @@
#[test]
fn split_escape_sequences() {
- let mut parser = vt100::Parser::new(24, 80);
+ let mut parser = vt100::Parser::new(24, 80, 0);
let contents = parser.screen().contents();
parser.process(b"abc");
assert_ne!(parser.screen().contents(), contents);
@@ -193,7 +193,7 @@ fn split_escape_sequences() {
#[test]
fn split_utf8() {
- let mut parser = vt100::Parser::new(24, 80);
+ let mut parser = vt100::Parser::new(24, 80, 0);
let contents = parser.screen().contents();
parser.process(b"a");
assert_ne!(parser.screen().contents(), contents);