terminfo: advertise overline support (#13649)

#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. Tmux uses
this to gate overline.
This commit is contained in:
Mitchell Hashimoto
2026-08-05 14:48:27 -07:00
committed by GitHub

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