Skip to content

Granular control over mouse click behavior in interactive menus (AskUserQuestion, select prompts) #75599

Description

@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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions