diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs index f56fa605..eeecc50d 100644 --- a/alacritty_terminal/src/term/mod.rs +++ b/alacritty_terminal/src/term/mod.rs @@ -1922,7 +1922,7 @@ impl Handler for Term { }; self.event_proxy.send_event(Event::PtyWrite(format!( - "\x1b[?{};{}$p", + "\x1b[?{};{}$y", mode.raw(), state as u8, ))); @@ -1979,7 +1979,7 @@ impl Handler for Term { }; self.event_proxy.send_event(Event::PtyWrite(format!( - "\x1b[{};{}$p", + "\x1b[{};{}$y", mode.raw(), state as u8, )));