aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-16 11:25:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-16 11:25:45 +0000
commit770c5e97ddde7309e6f48a3ecc0068427d01792c (patch)
treeecd081bab87799c7aff7e67787c7ba050cc528d2 /terminal.h
parentcsi: add back 'blink' attribute (diff)
csi: move 'dim' attribute from 'vt' to cell attributes
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index f370f110..bbc6c0ad 100644
--- a/terminal.h
+++ b/terminal.h
@@ -52,6 +52,7 @@ struct rgb { float r, g, b; };
* misses) */
struct attributes {
uint8_t bold:1;
+ uint8_t dim:1;
uint8_t italic:1;
uint8_t underline:1;
uint8_t strikethrough:1;
@@ -134,7 +135,6 @@ struct vt {
} utf8;
struct attributes attrs;
struct attributes saved_attrs;
- bool dim;
};
struct kbd {