aboutsummaryrefslogtreecommitdiff
path: root/src/ansi.rs
diff options
context:
space:
mode:
authorftilde <ftilde@protonmail.com>2017-07-20 19:54:40 +0200
committerJoe Wilm <jwilm@users.noreply.github.com>2017-07-20 10:54:40 -0700
commit2821902a4dc0145f40a1a2fcfda4537793436308 (patch)
tree93ccbf85e37f2a92514475d2a0e1b47ad6f72057 /src/ansi.rs
parent8e7dd009a4335e6d6673c1aabb2b92d27f86155c (diff)
downloadalacritty-2821902a4dc0145f40a1a2fcfda4537793436308.tar.gz
alacritty-2821902a4dc0145f40a1a2fcfda4537793436308.zip
Implement and use ansi attribute CancelBold (#659)
Diffstat (limited to 'src/ansi.rs')
-rw-r--r--src/ansi.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ansi.rs b/src/ansi.rs
index 2eccf335..a820bb31 100644
--- a/src/ansi.rs
+++ b/src/ansi.rs
@@ -536,6 +536,8 @@ pub enum Attr {
Hidden,
/// Strikethrough text
Strike,
+ /// Cancel bold
+ CancelBold,
/// Cancel bold and dim
CancelBoldDim,
/// Cancel italic
@@ -872,6 +874,7 @@ impl<'a, H, W> vte::Perform for Performer<'a, H, W>
7 => Attr::Reverse,
8 => Attr::Hidden,
9 => Attr::Strike,
+ 21 => Attr::CancelBold,
22 => Attr::CancelBoldDim,
23 => Attr::CancelItalic,
24 => Attr::CancelUnderline,