diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-03 12:01:11 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-03 12:03:52 -0500 |
commit | bf5813ba9cefacad3e8535478747f61c45ed41c2 (patch) | |
tree | 63441e4c36e07cf3a5827dd078c51aed56948542 /tests/helpers | |
parent | 481f6d62265916992dd5b7d3cb3c98c48004372a (diff) | |
download | vt100-rust-bf5813ba9cefacad3e8535478747f61c45ed41c2.tar.gz vt100-rust-bf5813ba9cefacad3e8535478747f61c45ed41c2.zip |
fix test code
Diffstat (limited to 'tests/helpers')
-rw-r--r-- | tests/helpers/mod.rs | 1 |
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()); |