From 2dbfaa34e165ba7a49100c8117b4c563895a21ef Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 20 Feb 2023 04:09:26 -0600 Subject: add undercurl patch --- st.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'st.h') diff --git a/st.h b/st.h index cb9aa30..2e4ecd9 100644 --- a/st.h +++ b/st.h @@ -39,6 +39,7 @@ enum glyph_attribute { ATTR_SELECTED = 1 << 12, ATTR_BOXDRAW = 1 << 13, ATTR_BOLD_FAINT = ATTR_BOLD | ATTR_FAINT, + ATTR_DIRTYUNDERLINE = 1 << 15, }; enum selection_mode { @@ -70,6 +71,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