summaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
authorMarcelo Lira <setanta@gmail.com>2025-03-02 03:00:07 -0300
committerMarcelo Lira <setanta@gmail.com>2025-03-03 16:12:29 -0300
commit050e0bef8e571a571684a12c4c86364c637c12d7 (patch)
treec785a796495798fdd062e662e45e139ff6253b24 /st.h
parent01d5521913a1ff71cbc4f1534d8eb26c9e2f2978 (diff)
Undercurl patch
https://st.suckless.org/patches/undercurl/
Diffstat (limited to 'st.h')
-rw-r--r--st.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/st.h b/st.h
index 0053050..956979b 100644
--- a/st.h
+++ b/st.h
@@ -34,6 +34,7 @@ enum glyph_attribute {
ATTR_WIDE = 1 << 9,
ATTR_WDUMMY = 1 << 10,
ATTR_BOLD_FAINT = ATTR_BOLD | ATTR_FAINT,
+ ATTR_DIRTYUNDERLINE = 1 << 15,
};
enum drawing_mode {
@@ -71,6 +72,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;