aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2023-11-29 01:44:59 +0400
committerGitHub <noreply@github.com>2023-11-29 01:44:59 +0400
commit28d913cfd09df2a520a3d285f6abc0ece4e1035b (patch)
tree685577c0bdb6104591e67dc23ff7e0adfbfa762e
parent5adfc4fb00d1b523bd17bbd73515d30636de0a0e (diff)
downloadalacritty-28d913cfd09df2a520a3d285f6abc0ece4e1035b.tar.gz
alacritty-28d913cfd09df2a520a3d285f6abc0ece4e1035b.zip
Fix DECRPM reporting
The DECRQM uses `p` to query, but the reply uses `y`. Fixes #7397.
-rw-r--r--alacritty_terminal/src/term/mod.rs4
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,
)));