[Feature] Keep hover (motion tracking) when CLAUDE_CODE_DISABLE_MOUSE_CLICKS=1, for plugin panes
Feature request
Version: 2.1.296 · Linux, VS Code integrated terminal over SSH (from Windows) · tui: fullscreen
Context
A plugin pane ($.ui.open) uses the documented hover props (hover={{ scope, display: 'flex' }}) to reveal a ticket's card when the pointer rests on its line. It works in a test harness, but never in my real terminal.
I keep CLAUDE_CODE_DISABLE_MOUSE_CLICKS=1 so that clicks over the transcript don't answer prompts and text selection stays usable. That setting also drops motion tracking, so hover can never fire.
Escape sequences Claude Code sends to the terminal with the Grillhouse pane open, captured with script:
| Setting | Modes enabled |
|---|---|
| CLAUDE_CODE_DISABLE_MOUSE_CLICKS=1 | ?1000h ?1006h (no ?1002h, no ?1003h) |
| unset / 0 | ?1000h ?1002h ?1003h ?1006h |
So a user who turns clicks off also loses every hover a plugin draws, and nothing in the plugin API or the docs says so.
Request
- Decouple hover from clicks: keep any-motion tracking (
?1003h) underCLAUDE_CODE_DISABLE_MOUSE_CLICKS=1, and only ignore presses. Hover is passive: it can't answer a prompt by accident. - Or a separate switch, e.g.
CLAUDE_CODE_MOUSE_HOVER=1, so hover can be kept without clicks. - Document it in the
hoverdoc comments ofBoxProps/ButtonProps: hover requires motion tracking, whichCLAUDE_CODE_DISABLE_MOUSE_CLICKSturns off.
Related: #82886 (the fullscreen click/selection trade-off).