[Feature Request] Make 0 == No, 9 == never - Reorder permission prompt options to prevent accidental acceptance

Open Beginner friendly
#90,427 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
cli, security

Research direction

Start by locating the permission prompt implementation for the Yes, Yes-and-don't-ask-again, and No choices. Check how numeric selections map to permission outcomes, then verify the prompt displays the decline option at 0 without changing the other behaviors. Done means each displayed option still produces its intended permission result.

Written by the indexing model from the issue text.

Description

area:permissions area:tui enhancement

Bug Description
Permission prompt: put the negative option first (or last), not in the middle.

Current order is "1. Yes 2. Yes, and don't ask again 3. No".
Muscle memory reaches for 1/2, so "No" sits exactly where a fat-finger
lands after choosing "yes" a few times — and "2" is the least
reversible option (grants a standing permission).

Suggested: put the decline option at 0

not-relevant
Environment Info

  • Platform: linux
  • Terminal: xterm-256color
  • Version: 2.1.228
  • Feedback ID: 38ad5452-e3e5-4ef3-bed7-05b9f3d44e7b

Errors

[]
Dominant language
TypeScript
Stars
147k
Forks
24k
Avg merge
8h 14m
Merged PRs (30d)
18

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from anthropics/claude-code

All issues in anthropics/claude-code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.