aboutsummaryrefslogtreecommitdiff
path: root/src/term
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/term
parent8e7dd009a4335e6d6673c1aabb2b92d27f86155c (diff)
downloadalacritty-2821902a4dc0145f40a1a2fcfda4537793436308.tar.gz
alacritty-2821902a4dc0145f40a1a2fcfda4537793436308.zip
Implement and use ansi attribute CancelBold (#659)
Diffstat (limited to 'src/term')
-rw-r--r--src/term/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs
index d898fe2f..64541b33 100644
--- a/src/term/mod.rs
+++ b/src/term/mod.rs
@@ -1703,6 +1703,7 @@ impl ansi::Handler for Term {
Attr::Reverse => self.cursor.template.flags.insert(cell::INVERSE),
Attr::CancelReverse => self.cursor.template.flags.remove(cell::INVERSE),
Attr::Bold => self.cursor.template.flags.insert(cell::BOLD),
+ Attr::CancelBold => self.cursor.template.flags.remove(cell::BOLD),
Attr::Dim => self.cursor.template.flags.insert(cell::DIM),
Attr::CancelBoldDim => self.cursor.template.flags.remove(cell::BOLD | cell::DIM),
Attr::Italic => self.cursor.template.flags.insert(cell::ITALIC),