From 30c8ad23f51a8bdc067e3a76da7004ba5be8682f Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 11 Nov 2019 15:36:46 -0500 Subject: optimize erases a bit more --- tests/window_contents.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/window_contents.rs') 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] -- cgit v1.2.3-54-g00ecf