aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/helpers/mod.rs')
-rw-r--r--tests/helpers/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/helpers/mod.rs b/tests/helpers/mod.rs
index a5b4ce6..c671684 100644
--- a/tests/helpers/mod.rs
+++ b/tests/helpers/mod.rs
@@ -154,6 +154,7 @@ pub fn rows_formatted_reproduces_screen(screen: &vt100::Screen) -> bool {
new_input.extend(row);
wrapped = screen.row_wrapped(idx.try_into().unwrap());
}
+ new_input.extend(b"\x1b[m");
new_input.extend(screen.cursor_state_formatted());
new_input.extend(screen.attributes_formatted());
new_input.extend(screen.input_mode_formatted());