aboutsummaryrefslogtreecommitdiffstats
path: root/tests/init.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-06 14:11:09 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-06 14:13:03 -0500
commit365d14de0ffe39aa7991bcb791c97c3aa97698b8 (patch)
tree4214ecb794bd2377adbe862a1d32e2b08674f5cd /tests/init.rs
parent35cb222004ad95a4acb6d1d24d5210b5267e3835 (diff)
downloadvt100-rust-365d14de0ffe39aa7991bcb791c97c3aa97698b8.tar.gz
vt100-rust-365d14de0ffe39aa7991bcb791c97c3aa97698b8.zip
actually, we do need to always reset the hide cursor state
Diffstat (limited to 'tests/init.rs')
-rw-r--r--tests/init.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/init.rs b/tests/init.rs
index 5623cd8..f76ec49 100644
--- a/tests/init.rs
+++ b/tests/init.rs
@@ -16,7 +16,10 @@ fn init() {
assert!(cell.is_none());
assert_eq!(parser.screen().contents(), "");
- assert_eq!(parser.screen().contents_formatted(), b"\x1b[H\x1b[J");
+ assert_eq!(
+ parser.screen().contents_formatted(),
+ b"\x1b[?25h\x1b[H\x1b[J"
+ );
assert_eq!(parser.screen().title(), "");
assert_eq!(parser.screen().icon_name(), "");