mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00
feat(tui): add support for CSI 4 : [2,4,5] m
This commit finishes support for colored and styled underlines adding `CSI 4 : [2,4,5] m` support providing double, dashed, and dotted underlines Fixes #17362.
This commit is contained in:
@@ -420,7 +420,10 @@ static void prt_get_attr(int hl_id, prt_text_attr_T *pattr, int modec)
|
||||
pattr->bold = (highlight_has_attr(hl_id, HL_BOLD, modec) != NULL);
|
||||
pattr->italic = (highlight_has_attr(hl_id, HL_ITALIC, modec) != NULL);
|
||||
pattr->underline = (highlight_has_attr(hl_id, HL_UNDERLINE, modec) != NULL);
|
||||
pattr->underlineline = (highlight_has_attr(hl_id, HL_UNDERLINELINE, modec) != NULL);
|
||||
pattr->undercurl = (highlight_has_attr(hl_id, HL_UNDERCURL, modec) != NULL);
|
||||
pattr->underdot = (highlight_has_attr(hl_id, HL_UNDERDOT, modec) != NULL);
|
||||
pattr->underdash = (highlight_has_attr(hl_id, HL_UNDERDASH, modec) != NULL);
|
||||
|
||||
uint32_t fg_color = prt_get_color(hl_id, modec);
|
||||
|
||||
|
Reference in New Issue
Block a user