Skip to content

Conversation

gnodet
Copy link
Member

@gnodet gnodet commented May 6, 2025

This PR adds a new method to the Terminal interface to retrieve the current mouse tracking mode.

Changes

  • Added getCurrentMouseTracking() method to Terminal interface
  • Added currentMouseTracking field to AbstractTerminal to track the state
  • Updated trackMouse() implementation to maintain the current state
  • Improved JavaDoc for mouse-related methods

This change allows clients to query the current mouse tracking mode, which is useful for toggling mouse tracking or restoring the previous state.

Added a new method to the Terminal interface to retrieve the current mouse tracking mode:
- Added getCurrentMouseTracking() method to Terminal interface
- Added currentMouseTracking field to AbstractTerminal to track the state
- Updated trackMouse() implementation to maintain the current state
- Improved JavaDoc for mouse-related methods

This change allows clients to query the current mouse tracking mode,
which is useful for toggling mouse tracking or restoring the previous state.
@gnodet gnodet merged commit 1b734af into master May 7, 2025
9 checks passed
@gnodet gnodet added this to the 3.29.1 milestone May 7, 2025
@gnodet gnodet deleted the mouse-tracking branch May 7, 2025 21:00
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.

1 participant