From 3ff1d0749a0caa409eb9b55b2d573a6d1726ec08 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Sun, 2 Jun 2024 17:49:08 -0500 Subject: [PATCH] vaxis: use legacy sgrs for VHS_RECORD --- src/Vaxis.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Vaxis.zig b/src/Vaxis.zig index 73ae831..b6f6e1e 100644 --- a/src/Vaxis.zig +++ b/src/Vaxis.zig @@ -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;