aboutsummaryrefslogtreecommitdiff
path: root/ui-terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-terminal.c')
-rw-r--r--ui-terminal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui-terminal.c b/ui-terminal.c
index babc5a6..264c6d3 100644
--- a/ui-terminal.c
+++ b/ui-terminal.c
@@ -171,6 +171,10 @@ static bool ui_style_define(UiWin *w, int id, const char *style) {
cell_style.attr |= CELL_ATTR_BOLD;
} else if (!strcasecmp(option, "notbold")) {
cell_style.attr &= ~CELL_ATTR_BOLD;
+ } else if (!strcasecmp(option, "dim")) {
+ cell_style.attr |= CELL_ATTR_DIM;
+ } else if (!strcasecmp(option, "notdim")) {
+ cell_style.attr &= ~CELL_ATTR_DIM;
} else if (!strcasecmp(option, "italics")) {
cell_style.attr |= CELL_ATTR_ITALIC;
} else if (!strcasecmp(option, "notitalics")) {