mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 08:16:13 +03:00
Merge pull request #537 from rockorager/setulc
terminfo: add Setulc string for colored underlines
This commit is contained in:
@ -95,6 +95,9 @@ pub const ghostty: Source = .{
|
|||||||
// Curly, dashed, etc underlines
|
// Curly, dashed, etc underlines
|
||||||
.{ .name = "Smulx", .value = .{ .string = "\\E[4:%p1%dm" } },
|
.{ .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
|
// These are all capabilities that should be pretty straightforward
|
||||||
// and map to input sequences.
|
// and map to input sequences.
|
||||||
.{ .name = "bel", .value = .{ .string = "^G" } },
|
.{ .name = "bel", .value = .{ .string = "^G" } },
|
||||||
|
Reference in New Issue
Block a user