fix: deal with Windows Terminal mouse move with no buttons SGR report
This commit is contained in:
1 parent
7053748e4d
commit
eb9f8604e1
1 file changed
+1
@@ -2220,6 +2220,7 @@ impl<'a> CSIParser<'a> {
|
||||
// other encodings is added and this block is likely copied and pasted
|
||||
// or refactored for re-use with them.
|
||||
('M', 35) => MouseButton::None, // mouse motion with no buttons
|
||||
('m', 35) => MouseButton::None, // mouse motion with no buttons (in Windows Terminal)
|
||||
('M', 3) => MouseButton::None, // legacy notification about button release
|
||||
('m', 3) => MouseButton::None, // release+press doesn't make sense
|
||||
_ => {
|
||||
|
||||
Reference in new issue
Block a user