aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/tests/ref.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2023-01-15 22:53:41 +0000
committerGitHub <noreply@github.com>2023-01-15 22:53:41 +0000
commit5a3280e8e0184c94e7a3f0a89676090d0694408d (patch)
treea5a0d1c38c0bd9ad750838d4373d9792e4377303 /alacritty_terminal/tests/ref.rs
parentbcd6d0d981fd192f21a2f5142f421f4aa1de1648 (diff)
downloadalacritty-5a3280e8e0184c94e7a3f0a89676090d0694408d.tar.gz
alacritty-5a3280e8e0184c94e7a3f0a89676090d0694408d.zip
Preserve last column with erase in line right
When the erase in line escape sequence with a parameter of 0 (right) is passed while the wrapline flag is already set, it will no longer clear the last column and instead ignore the operation. The behavior of `\e[1K` and `\e[2K` is unchanged and both will clear the entire first line without clearing the wrapline flag. Closes #6159.
Diffstat (limited to 'alacritty_terminal/tests/ref.rs')
-rw-r--r--alacritty_terminal/tests/ref.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/alacritty_terminal/tests/ref.rs b/alacritty_terminal/tests/ref.rs
index b304c48c..a9f64f55 100644
--- a/alacritty_terminal/tests/ref.rs
+++ b/alacritty_terminal/tests/ref.rs
@@ -70,6 +70,7 @@ ref_tests! {
wrapline_alt_toggle
zerowidth
zsh_tab_completion
+ erase_in_line
}
fn read_u8<P>(path: P) -> Vec<u8>