summaryrefslogtreecommitdiff
path: root/src/face_registry.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-10-23 13:34:03 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-10-23 13:46:41 +0100
commite7152bad56906838fb306aee15b04ab778f2c69c (patch)
treea4f9dfd5bdb70cdedfa0560e87dcbfe741ce8de3 /src/face_registry.cc
parent1ba37bacd8cda9c24d074887e2c10a8881f9c861 (diff)
Add an exclusive attribute that overrides existing face
Diffstat (limited to 'src/face_registry.cc')
-rw-r--r--src/face_registry.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/face_registry.cc b/src/face_registry.cc
index a1a0e582..2f0be21b 100644
--- a/src/face_registry.cc
+++ b/src/face_registry.cc
@@ -24,6 +24,7 @@ static Face parse_face(StringView facedesc)
{
switch (*attr_it)
{
+ case 'e': res.attributes |= Attribute::Exclusive; break;
case 'u': res.attributes |= Attribute::Underline; break;
case 'r': res.attributes |= Attribute::Reverse; break;
case 'b': res.attributes |= Attribute::Bold; break;