terminfo: advertise overline support

#12885

Ghostty already implements SGR 53 and 55, but its terminfo description
does not expose the corresponding Smol and Rmol capabilities. Add both
entries so the advertised capabilities match the renderer.
This commit is contained in:
Mitchell Hashimoto
2026-08-05 14:27:21 -07:00
parent 15ac61db16
commit bb1f5908f8

View File

@@ -106,6 +106,10 @@ pub const ghostty: Source = .{
// Curly, dashed, etc underlines
.{ .name = "Smulx", .value = .{ .string = "\\E[4:%p1%dm" } },
// Overline
.{ .name = "Smol", .value = .{ .string = "\\E[53m" } },
.{ .name = "Rmol", .value = .{ .string = "\\E[55m" } },
// Colored underlines
.{ .name = "Setulc", .value = .{ .string = "\\E[58:2::%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%d%;m" } },