Surface: fix reportColorScheme on Windows

This commit is contained in:
Krzysztof Wolicki
2024-02-03 13:08:05 +01:00
parent a1dd6e0394
commit 3959364a86

View File

@ -843,7 +843,7 @@ pub fn handleMessage(self: *Surface, msg: Message) !void {
} }
/// Sends a DSR response for the current color scheme to the pty. /// 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) { const output = switch (self.color_scheme) {
.light => "\x1B[?997;2n", .light => "\x1B[?997;2n",
.dark => "\x1B[?997;1n", .dark => "\x1B[?997;1n",