From b8f89701c656aa4d57cbcfdcf91a9b4797e3651a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 13 Oct 2022 01:05:10 +0200 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 3f6f45f..d554b3f 100644 --- a/st.h +++ b/st.h @@ -35,6 +35,7 @@ enum glyph_attribute { ATTR_WDUMMY = 1 << 10, ATTR_BOXDRAW = 1 << 11, ATTR_BOLD_FAINT = ATTR_BOLD | ATTR_FAINT, + ATTR_DIRTYUNDERLINE = 1 << 15, }; enum selection_mode { @@ -66,6 +67,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-70-g09d2