1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-25 14:05:41 -05:00

Fix DECRPM reporting

The DECRQM uses `p` to query, but the reply uses `y`.

Fixes #7397.
This commit is contained in:
Kirill Chibisov 2023-11-29 01:44:59 +04:00 committed by GitHub
parent 5adfc4fb00
commit 28d913cfd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
)));