mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
terminfo: add Setulc string for colored underlines
Add terminfo key 'Setulc' to enable colored underlines.
This commit is contained in:
@ -95,6 +95,9 @@ pub const ghostty: Source = .{
|
||||
// Curly, dashed, etc underlines
|
||||
.{ .name = "Smulx", .value = .{ .string = "\\E[4:%p1%dm" } },
|
||||
|
||||
// Colored underlines
|
||||
.{ .name = "Setulc", .value = .{ .string = "\\E[58:2::%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%d%;m" } },
|
||||
|
||||
// These are all capabilities that should be pretty straightforward
|
||||
// and map to input sequences.
|
||||
.{ .name = "bel", .value = .{ .string = "^G" } },
|
||||
|
Reference in New Issue
Block a user