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
1 changed files with 2 additions and 2 deletions

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