Merge pull request #1449 from der-teufel-programming/fix-windows

Surface: fix reportColorScheme on Windows
This commit is contained in:
Mitchell Hashimoto
2024-02-03 06:16:33 -08:00
committed by GitHub

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.
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",