mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
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:
parent
daa2f2d023
commit
9c960d6af8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue