mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-21 11:16:08 +03:00
sgr: add support for legacy double underline
SGR 21 is defined to be a double underline. This behavior is common among many terminals, notably xterm. References: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Functions-using-CSI-_-ordered-by-the-final-character_s_
This commit is contained in:
@ -165,6 +165,8 @@ pub const Parser = struct {
|
||||
|
||||
9 => return Attribute{ .strikethrough = {} },
|
||||
|
||||
21 => return Attribute{ .underline = .double },
|
||||
|
||||
22 => return Attribute{ .reset_bold = {} },
|
||||
|
||||
23 => return Attribute{ .reset_italic = {} },
|
||||
|
Reference in New Issue
Block a user