mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
surface: don't issue mode 2031 DSR reports when colors are changed by a VT sequence
This commit is contained in:
@ -853,11 +853,8 @@ pub fn handleMessage(self: *Surface, msg: Message) !void {
|
|||||||
},
|
},
|
||||||
|
|
||||||
.color_change => |change| {
|
.color_change => |change| {
|
||||||
// On any color change, we have to report for mode 2031
|
// Notify our apprt, but don't send a mode 2031 DSR report
|
||||||
// if it is enabled.
|
// because VT sequences were used to change the color.
|
||||||
self.reportColorScheme(false);
|
|
||||||
|
|
||||||
// Notify our apprt
|
|
||||||
try self.rt_app.performAction(
|
try self.rt_app.performAction(
|
||||||
.{ .surface = self },
|
.{ .surface = self },
|
||||||
.color_change,
|
.color_change,
|
||||||
|
Reference in New Issue
Block a user