vaxis: use legacy sgrs for VHS_RECORD

This commit is contained in:
Tim Culverhouse 2024-06-02 17:49:08 -05:00
parent 83cfc4f318
commit 3ff1d0749a

View file

@ -262,6 +262,7 @@ pub fn enableDetectedFeatures(self: *Vaxis, tty: AnyWriter) !void {
if (std.posix.getenv("VHS_RECORD")) |_| {
self.caps.unicode = .wcwidth;
self.caps.kitty_keyboard = false;
self.sgr = .legacy;
}
if (std.posix.getenv("VAXIS_FORCE_LEGACY_SGR")) |_|
self.sgr = .legacy;