diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-13 01:05:10 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-13 01:05:10 +0200 |
commit | b8f89701c656aa4d57cbcfdcf91a9b4797e3651a (patch) | |
tree | 92443306591f0dd027f034900aa8daaabcdae5fc /st.h | |
parent | 34fc8048ce489cf11104139f6469d7aca4d1142a (diff) |
Add undercurl patch
Diffstat (limited to 'st.h')
-rw-r--r-- | st.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |