diff options
author | zachir <zachir@librem.one> | 2023-02-20 04:09:26 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-02-20 04:09:26 -0600 |
commit | 2dbfaa34e165ba7a49100c8117b4c563895a21ef (patch) | |
tree | c0a1f128f00640b544600920b48b0b61cefe55c7 /st.h | |
parent | edf033d103362bc29175a79c88a4253dc925811c (diff) |
add undercurl patch
Diffstat (limited to 'st.h')
-rw-r--r-- | st.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |