diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-11 15:36:46 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-11 15:49:00 -0500 |
commit | 30c8ad23f51a8bdc067e3a76da7004ba5be8682f (patch) | |
tree | f4c9d8da7468b53df99079b9ee14ea06943d7f2c /tests/window_contents.rs | |
parent | 6203def48a689e30677a63b03d755aa0740e6e18 (diff) | |
download | vt100-rust-30c8ad23f51a8bdc067e3a76da7004ba5be8682f.tar.gz vt100-rust-30c8ad23f51a8bdc067e3a76da7004ba5be8682f.zip |
optimize erases a bit more
Diffstat (limited to 'tests/window_contents.rs')
-rw-r--r-- | tests/window_contents.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/window_contents.rs b/tests/window_contents.rs index 161402e..1bad9ed 100644 --- a/tests/window_contents.rs +++ b/tests/window_contents.rs @@ -106,7 +106,7 @@ fn cursor_positioning() { parser.screen().contents_formatted(), b"\x1b[?25h\x1b[m\x1b[H\x1b[J:" ); - assert_eq!(parser.screen().contents_diff(&screen3), b"\x1b[1;2H\x1b[X"); + assert_eq!(parser.screen().contents_diff(&screen3), b"\x1b[1;2H\x1b[K"); } #[test] |