Skip to content

Conversation

gnodet
Copy link
Member

@gnodet gnodet commented May 10, 2025

This change updates LineReaderImpl to use the enhanced readMouseEvent method that accepts the lastBinding parameter, which is needed for proper mouse event handling with the SGR mouse mode (1006) support added in commit 287851d.

The lastBinding parameter allows the mouse event parser to correctly handle partially consumed mouse event sequences when they're detected through key bindings, which is particularly important for SGR format mouse events.

…astBinding parameter

This change updates LineReaderImpl to use the enhanced readMouseEvent method that accepts the lastBinding parameter, which is needed for proper mouse event handling with the SGR mouse mode (1006) support added in commit 287851d.

The lastBinding parameter allows the mouse event parser to correctly handle partially consumed mouse event sequences when they're detected through key bindings, which is particularly important for SGR format mouse events.
@gnodet gnodet added this to the 3.30.1 milestone May 10, 2025
@gnodet gnodet added the bug label May 10, 2025
@gnodet gnodet merged commit a5bea9f into master May 10, 2025
9 checks passed
@gnodet gnodet deleted the fix-linereader-mouse branch May 12, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant