terminfo: add left/right margin entries

This commit is contained in:
Mitchell Hashimoto
2023-10-10 15:59:24 -07:00
parent a9fee348b6
commit 0d2bfacd5b

View File

@ -141,6 +141,12 @@ pub const ghostty: Source = .{
.{ .name = "XR", .value = .{ .string = "\\E[>0q" } },
.{ .name = "xr", .value = .{ .string = "\\EP>\\|[ -~]+a\\E\\\\" } },
// DECSLRM (Left/Right Margins)
.{ .name = "Enmg", .value = .{ .string = "\\E[?69h" } },
.{ .name = "Dsmg", .value = .{ .string = "\\E[?69l" } },
.{ .name = "Clmg", .value = .{ .string = "\\E[s" } },
.{ .name = "Cmg", .value = .{ .string = "\\E[%i%p1%d;%p2%ds" } },
// These are all capabilities that should be pretty straightforward
// and map to input sequences.
.{ .name = "bel", .value = .{ .string = "^G" } },