diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-06 03:03:15 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-06 03:03:15 -0500 |
commit | bf8c3de0e5d945167645ecfd4f6de18e048f356c (patch) | |
tree | c22fbf031cda06c1169a5be790cd87f04e0b9797 /tests/init.rs | |
parent | 7e7f4a10930498c2d576c7103054408a0915370e (diff) | |
download | vt100-rust-bf8c3de0e5d945167645ecfd4f6de18e048f356c.tar.gz vt100-rust-bf8c3de0e5d945167645ecfd4f6de18e048f356c.zip |
contents_formatted should additionally clear the screen
Diffstat (limited to 'tests/init.rs')
-rw-r--r-- | tests/init.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/init.rs b/tests/init.rs index 9647765..5623cd8 100644 --- a/tests/init.rs +++ b/tests/init.rs @@ -16,7 +16,7 @@ fn init() { assert!(cell.is_none()); assert_eq!(parser.screen().contents(), ""); - assert_eq!(parser.screen().contents_formatted(), b""); + assert_eq!(parser.screen().contents_formatted(), b"\x1b[H\x1b[J"); assert_eq!(parser.screen().title(), ""); assert_eq!(parser.screen().icon_name(), ""); |