Fix number of characters consumed for VT200 mouse tracking

It's a 9-char CSI and we've read 3 (`<ESC>[T`), so we need to read six more.
Verified against the previous C++ codebase and couldn't find a reason for the
change to consuming 10 chars in a `git blame` run.
This commit is contained in:
Mahmoud Al-Qudsi 2024-10-24 11:22:52 -05:00
parent daa2f2d023
commit 9c960d6af8

View file

@ -901,7 +901,7 @@ pub trait InputEventQueuer {
b'T' => {
self.disable_mouse_tracking();
// VT200 button released in mouse highlighting mode past end-of-line. 9 characters.
for _ in 0..7 {
for _ in 0..6 {
let _ = next_char(self);
}
return None;