From 050e0bef8e571a571684a12c4c86364c637c12d7 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Sun, 2 Mar 2025 03:00:07 -0300 Subject: Undercurl patch https://st.suckless.org/patches/undercurl/ --- st.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'st.h') 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; -- cgit v1.2.3