mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
support 256 color palette setting
This commit is contained in:
@ -185,6 +185,10 @@ pub fn setAttribute(self: *Terminal, attr: sgr.Attribute) !void {
|
||||
};
|
||||
},
|
||||
|
||||
.@"256_fg" => |idx| self.cursor.pen.fg = color.default[idx],
|
||||
|
||||
.@"256_bg" => |idx| self.cursor.pen.bg = color.default[idx],
|
||||
|
||||
else => return error.InvalidAttribute,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user