summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2019-01-27 19:15:49 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2019-01-27 19:15:49 +0000
commitddc3d23296fbec95db1f82e6f833498844357da6 (patch)
tree6e1349302c182a81ba64cc546f4e62cf78800018 /include
parent7a0d2b26922f215a91a37d70c9a47e62d8b0c931 (diff)
Define some enum{} constants for pen.underline field values
Diffstat (limited to 'include')
-rw-r--r--include/vterm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vterm.h b/include/vterm.h
index f83140a..0501878 100644
--- a/include/vterm.h
+++ b/include/vterm.h
@@ -418,6 +418,12 @@ typedef struct {
unsigned int dhl : 2; /* On a DECDHL line (1=top 2=bottom) */
} VTermScreenCellAttrs;
+enum {
+ VTERM_UNDERLINE_OFF,
+ VTERM_UNDERLINE_SINGLE,
+ VTERM_UNDERLINE_DOUBLE,
+};
+
typedef struct {
#define VTERM_MAX_CHARS_PER_CELL 6
uint32_t chars[VTERM_MAX_CHARS_PER_CELL];