From 28d913cfd09df2a520a3d285f6abc0ece4e1035b Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Wed, 29 Nov 2023 01:44:59 +0400 Subject: Fix DECRPM reporting The DECRQM uses `p` to query, but the reply uses `y`. Fixes #7397. --- alacritty_terminal/src/term/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, ))); -- cgit v1.2.3-54-g00ecf