mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-22 11:46:11 +03:00
Surface: fix reportColorScheme on Windows
This commit is contained in:
@ -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",
|
||||||
|
Reference in New Issue
Block a user