diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-08-12 16:05:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-12 19:05:22 +0300 |
commit | b904207b1979bb86f86c2a7db1720ce04571508a (patch) | |
tree | e0961c9f8c087f11ceb81061ebd468972a3d4cda /alacritty_terminal/tests/ref.rs | |
parent | 96ea5c445ecc25a5b2d400b11f0ff843e9cbdd7a (diff) | |
download | alacritty-b904207b1979bb86f86c2a7db1720ce04571508a.tar.gz alacritty-b904207b1979bb86f86c2a7db1720ce04571508a.zip |
Add support for double underlines
This adds support for double underlines using the colon separated escape
sequence `CSI 4 : 2 m`.
Alacritty will now also always fallback to the normal underline in case
any of the other underlines like the undercurl are specified. The escape
sequence `CSI 4 : 0 m` can now be used to clear all underlines.
Some terminals support `CSI 21 m` for double underline, but since
Alacritty already uses that as cancel bold which is a little more
consistent, that behavior has not changed. So the colon separated
variant must be used.
Diffstat (limited to 'alacritty_terminal/tests/ref.rs')
-rw-r--r-- | alacritty_terminal/tests/ref.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alacritty_terminal/tests/ref.rs b/alacritty_terminal/tests/ref.rs index 89e7b4aa..54031022 100644 --- a/alacritty_terminal/tests/ref.rs +++ b/alacritty_terminal/tests/ref.rs @@ -66,6 +66,7 @@ ref_tests! { saved_cursor saved_cursor_alt sgr + underline } fn read_u8<P>(path: P) -> Vec<u8> |