mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-06 01:46:33 +00:00
implement faint colors (SGR 2)
This commit is contained in:
@@ -21,6 +21,9 @@ pub const Attribute = union(enum) {
|
||||
/// Bold the text.
|
||||
bold: void,
|
||||
|
||||
/// Faint/dim text.
|
||||
faint: void,
|
||||
|
||||
/// Underline the text
|
||||
underline: void,
|
||||
|
||||
@@ -88,6 +91,8 @@ pub const Parser = struct {
|
||||
|
||||
1 => return Attribute{ .bold = {} },
|
||||
|
||||
2 => return Attribute{ .faint = {} },
|
||||
|
||||
4 => return Attribute{ .underline = {} },
|
||||
|
||||
5 => return Attribute{ .blink = {} },
|
||||
|
Reference in New Issue
Block a user