[FEATURE] Do not make permission requests or any other arbitrary commands clickable

Status Fixed / completed
Maintainer reply ✓ Yes — bcherny
Activity 4 comments · opened Aug 18, 2026 · closed Aug 20, 2026
💡 Likely answer: A maintainer (bcherny, collaborator) responded on this thread — see the highlighted reply below.

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

When in manual mode, Claude Code will ask for approval to perform Bash commands not in its allowlist, using a "Do you want to proceed.. Yes/No" selection menu.
These options have recently become clickable by mouse instead of just selectable with arrow keys, which is in my opinion undesirable or even outright dangerous!

It has happened multiple times that i click the Claude Code window on my desktop to bring it to the foreground as it waits for a reaction, then accidentally clicking the Yes or No command.

Proposed Solution

Please consider removing this and only allow clickable interaction with eg urls or other specifically undelined and identifiable commands.

Alternative Solutions

Remove clickable entries/commands entirely

Priority

Medium - Would be very helpful

Feature Category

Interactive mode (TUI)

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

3 Comments

jjanuszkiewicz · 1 month ago
bcherny collaborator · 1 month ago

You can turn off mouse click/drag/hover handling (keeping wheel scroll) with CLAUDE_CODE_DISABLE_MOUSE_CLICKS=1, or disable mouse capture entirely with CLAUDE_CODE_DISABLE_MOUSE=1 — see https://code.claude.com/docs/en/fullscreen. Closing — reply to reopen.

🤖 Generated with Claude Code

jjanuszkiewicz · 1 month ago

@bcherny CLAUDE_CODE_DISABLE_MOUSE_CLICKS=1 disables too much - see the related https://github.com/anthropics/claude-code/issues/77580.

Even this issue asks for a different solution:

Please consider removing this and only allow clickable interaction with eg urls or other specifically undelined and identifiable commands.

but CLAUDE_CODE_DISABLE_MOUSE_CLICKS=1 disables all the useful interactions - not only the permission request clicks.

Showing cached comments. Read the full discussion on GitHub ↗