diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2023-11-29 01:44:59 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-29 01:44:59 +0400 |
commit | 28d913cfd09df2a520a3d285f6abc0ece4e1035b (patch) | |
tree | 685577c0bdb6104591e67dc23ff7e0adfbfa762e /alacritty_terminal | |
parent | 5adfc4fb00d1b523bd17bbd73515d30636de0a0e (diff) | |
download | alacritty-28d913cfd09df2a520a3d285f6abc0ece4e1035b.tar.gz alacritty-28d913cfd09df2a520a3d285f6abc0ece4e1035b.zip |
Fix DECRPM reporting
The DECRQM uses `p` to query, but the reply uses `y`.
Fixes #7397.
Diffstat (limited to 'alacritty_terminal')
-rw-r--r-- | alacritty_terminal/src/term/mod.rs | 4 |
1 files 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<T: EventListener> Handler for Term<T> { }; self.event_proxy.send_event(Event::PtyWrite(format!( - "\x1b[?{};{}$p", + "\x1b[?{};{}$y", mode.raw(), state as u8, ))); @@ -1979,7 +1979,7 @@ impl<T: EventListener> Handler for Term<T> { }; self.event_proxy.send_event(Event::PtyWrite(format!( - "\x1b[{};{}$p", + "\x1b[{};{}$y", mode.raw(), state as u8, ))); |