Granular control over mouse click behavior in interactive menus (AskUserQuestion, select prompts)
Open 💬 0 comments Opened Jul 8, 2026 by maxvlc
Feature request
Since v2.1.181, clicking an option in select menus (permission prompts, /model, /config, AskUserQuestion dialogs, etc.) in fullscreen mode immediately selects/confirms it. This is a nice addition for some workflows, but there's no way to opt out of just this behavior without losing other mouse functionality.
The only existing controls are all-or-nothing:
CLAUDE_CODE_DISABLE_MOUSE— disables all mouse tracking (also disables scroll, hover, everything).CLAUDE_CODE_DISABLE_MOUSE_CLICKS— disables click/drag/hover entirely, which also breaks clicking links and text-drag-selection inside fullscreen rendering.
The problem
I want to keep:
- Clicking links to open them
- Mouse drag text selection
But disable:
- Click-to-select on interactive menu options (permission prompts,
/model,/config,AskUserQuestion), since accidental clicks near an option now confirm/select it unintentionally.
There's currently no combination of settings/env vars that achieves this — it's either "clicks do everything" or "clicks do nothing."
Suggested solution
A more granular env var / setting, e.g. CLAUDE_CODE_DISABLE_MENU_CLICK_SELECT=1, that disables only the click-to-select behavior on interactive select menus while leaving link-opening and text selection/drag untouched.
Environment
- Claude Code CLI, terminal usage, fullscreen rendering mode