summaryrefslogtreecommitdiff
path: root/st/st-0.9.3/st.h
diff options
context:
space:
mode:
authorThomas Ulmer <thomasmulmer02@gmail.com>2025-12-20 15:30:02 -0800
committerThomas Ulmer <thomasmulmer02@gmail.com>2025-12-20 15:30:02 -0800
commitc3a8504c0246df41cc5c82f5e2e07f6cb1cd5082 (patch)
tree73fe03fcb3ec481a90b380a6bd0c03bca525d97b /st/st-0.9.3/st.h
parenteed90894d41a8e0892ea51d6be93369850c493b5 (diff)
st: undercurl
Diffstat (limited to 'st/st-0.9.3/st.h')
-rw-r--r--st/st-0.9.3/st.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/st/st-0.9.3/st.h b/st/st-0.9.3/st.h
index 2b20cfe..3b2b3e1 100644
--- a/st/st-0.9.3/st.h
+++ b/st/st-0.9.3/st.h
@@ -36,6 +36,7 @@ enum glyph_attribute {
ATTR_WDUMMY = 1 << 11,
ATTR_SELECTED = 1 << 12,
ATTR_BOLD_FAINT = ATTR_BOLD | ATTR_FAINT,
+ ATTR_DIRTYUNDERLINE = 1 << 15,
};
enum selection_mode {
@@ -67,6 +68,8 @@ typedef struct {
ushort mode; /* attribute flags */
uint32_t fg; /* foreground */
uint32_t bg; /* background */
+ int ustyle; /* underline style */
+ int ucolor[3]; /* underline color */
} Glyph;
typedef Glyph *Line;