terminfo: add cursor styles to terminfo

Add Ss and Se definitions
This commit is contained in:
Tim Culverhouse
2023-09-26 06:42:42 -05:00
parent 779186adc0
commit c77f0dc6fc

View File

@ -98,6 +98,12 @@ pub const ghostty: Source = .{
// Colored underlines
.{ .name = "Setulc", .value = .{ .string = "\\E[58:2::%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%d%;m" } },
// Cursor styles
.{ .name = "Ss", .value = .{ .string = "\\E[%p1%d q" } },
// Cursor style reset
.{ .name = "Se", .value = .{ .string = "\\E[2 q" } },
// These are all capabilities that should be pretty straightforward
// and map to input sequences.
.{ .name = "bel", .value = .{ .string = "^G" } },