From 3959364a860dd18322ce1ed471e09362202295b4 Mon Sep 17 00:00:00 2001 From: Krzysztof Wolicki Date: Sat, 3 Feb 2024 13:08:05 +0100 Subject: [PATCH] Surface: fix reportColorScheme on Windows --- src/Surface.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Surface.zig b/src/Surface.zig index 59b8b803d..e15bc342c 100644 --- a/src/Surface.zig +++ b/src/Surface.zig @@ -843,7 +843,7 @@ pub fn handleMessage(self: *Surface, msg: Message) !void { } /// Sends a DSR response for the current color scheme to the pty. -fn reportColorScheme(self: *const Surface) !void { +fn reportColorScheme(self: *Surface) !void { const output = switch (self.color_scheme) { .light => "\x1B[?997;2n", .dark => "\x1B[?997;1n",