Merge pull request #1139 from rockorager/terminfo-fix

terminfo: fix `xr` and `rv`
This commit is contained in:
Mitchell Hashimoto
2023-12-21 11:37:37 -08:00
committed by GitHub

View File

@ -135,11 +135,11 @@ pub const ghostty: Source = .{
// Secondary device attributes request / response
.{ .name = "RV", .value = .{ .string = "\\E[>c" } },
.{ .name = "rv", .value = .{ .string = "\\E\\[[0-9]+;[0-9]+;[0-9]+c" } },
.{ .name = "rv", .value = .{ .string = "\\E\\\\[[0-9]+;[0-9]+;[0-9]+c" } },
// XTVERSION
.{ .name = "XR", .value = .{ .string = "\\E[>0q" } },
.{ .name = "xr", .value = .{ .string = "\\EP>\\|[ -~]+a\\E\\\\" } },
.{ .name = "xr", .value = .{ .string = "\\EP>\\\\|[ -~]+a\\E\\\\" } },
// DECSLRM (Left/Right Margins)
.{ .name = "Enmg", .value = .{ .string = "\\E[?69h" } },