A half-received mouse report is now discarded instead of dumping stray characters into your prompt.
What's wrong with this entry?
The terminal input parser can now recognise a partial mouse sequence, wait briefly, and discard it if the rest never arrives, instead of letting the leftover characters land in your prompt.
- The parser tracks a dropped-prefix state with its own expiry deadlines and matches an incomplete escape sequence.
- Click dispatch now reports one of three outcomes, handled, unhandled or stray, with a flag marking a click dropped as stray.
- Click events carry a field indicating the click merely activated the terminal window, so a focus click can be told apart from a real one.
droppedAsStray
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Editing a queued command keeps its mode and refuses on a dirty draft
Both mention input
-
v2.1.235
Enter no longer submits a text field in a select list, and arrows can leave the list
Both mention input
-
v2.1.235
Vim cursor position survives re-renders and editor round trips
Both mention input