Skip to content

fix(parser): ignore malformed SGR mouse reports#6580

Open
cyphercodes wants to merge 1 commit into
Textualize:mainfrom
cyphercodes:fix-malformed-sgr-mouse-6573
Open

fix(parser): ignore malformed SGR mouse reports#6580
cyphercodes wants to merge 1 commit into
Textualize:mainfrom
cyphercodes:fix-malformed-sgr-mouse-6573

Conversation

@cyphercodes

Copy link
Copy Markdown

Summary

Fixes #6573.

Malformed SGR mouse reports such as \x1b[<32;NaN;NaNM are now recognized as mouse reports and ignored instead of being reissued as key input.

Test plan

  • python -m pytest tests/test_xterm_parser.py -q
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SGR mouse reports with non-numeric coordinates get reissued as keystrokes

1 participant