From ffaf1f6a6f412d74c8749081dc07e225357a6c3e Mon Sep 17 00:00:00 2001 From: Gregory Anders Date: Fri, 3 Nov 2023 08:53:36 -0700 Subject: [PATCH] terminfo: add missing % character after conditional Not sure this is _strictly_ necessary, but according to terminfo(5) a conditional (`%?`) should have a closing `%` character after the "else" part. Adding it just in case some parser somewhere depends on this. --- src/terminfo/ghostty.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminfo/ghostty.zig b/src/terminfo/ghostty.zig index e0c4f21fd..f84d254bc 100644 --- a/src/terminfo/ghostty.zig +++ b/src/terminfo/ghostty.zig @@ -120,7 +120,7 @@ pub const ghostty: Source = .{ .{ .name = "Ms", .value = .{ .string = "\\E]52;%p1%s;%p2%s\\007" } }, // Synchronized output - .{ .name = "Sync", .value = .{ .string = "\\E[?2026%?%p1%{1}%-%tl%eh" } }, + .{ .name = "Sync", .value = .{ .string = "\\E[?2026%?%p1%{1}%-%tl%eh%" } }, // Bracketed paste mode .{ .name = "BD", .value = .{ .string = "\\E[?2004l" } },