Merge pull request #537 from rockorager/setulc

terminfo: add Setulc string for colored underlines
This commit is contained in:
Mitchell Hashimoto
2023-09-25 13:59:00 -07:00
committed by GitHub

View File

@ -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" } },