diff options
| author | Aram Drevekenin <aram@poor.dev> | 2020-09-29 11:40:47 +0200 |
|---|---|---|
| committer | Aram Drevekenin <aram@poor.dev> | 2020-09-29 11:40:47 +0200 |
| commit | cf1080bc3f2b3efe9ca34d9c3b462296f0d23334 (patch) | |
| tree | 5f2d8366d72dffdd4de07ff6501d58f98d6808fe /src/tests/utils.rs | |
| parent | fix(compatibility): properly delete characters in backspace (diff) | |
| download | sl0ppij-cf1080bc3f2b3efe9ca34d9c3b462296f0d23334.tar.gz sl0ppij-cf1080bc3f2b3efe9ca34d9c3b462296f0d23334.tar.xz sl0ppij-cf1080bc3f2b3efe9ca34d9c3b462296f0d23334.zip | |
test(compatibility): bandwhich + various fish things
Diffstat (limited to 'src/tests/utils.rs')
| -rw-r--r-- | src/tests/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/utils.rs b/src/tests/utils.rs index a27717f9..dd0c2409 100644 --- a/src/tests/utils.rs +++ b/src/tests/utils.rs @@ -18,7 +18,7 @@ pub fn get_output_frame_snapshots(output_frames: &[Vec<u8>], win_size: &Winsize) let mut snapshot = String::new(); for (line_index, line) in output_lines.iter().enumerate() { for (character_index, terminal_character) in line.iter().enumerate() { - if line_index == cursor_y - 1 && character_index == cursor_x { + if line_index == cursor_y && character_index == cursor_x { snapshot.push('█'); } else { snapshot.push(terminal_character.character); |
