terminfo: add bracketed paste entries BD, BE, PS, PE

Add terminal entries for bracketed paste mode and start/end signals
This commit is contained in:
Tim Culverhouse
2023-09-27 09:20:13 -05:00
parent 0c74d13958
commit fe0b93389e

View File

@ -116,6 +116,13 @@ pub const ghostty: Source = .{
// Synchronized output // 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" } },
.{ .name = "BE", .value = .{ .string = "\\E[?2004h" } },
// Bracketed paste start/end
.{ .name = "PS", .value = .{ .string = "\\E[200~" } },
.{ .name = "PE", .value = .{ .string = "\\E[201~" } },
// These are all capabilities that should be pretty straightforward // These are all capabilities that should be pretty straightforward
// and map to input sequences. // and map to input sequences.
.{ .name = "bel", .value = .{ .string = "^G" } }, .{ .name = "bel", .value = .{ .string = "^G" } },