anthropics / anthropics/claude-code

[Feature request] Separate keybindings for canceling operations vs clearing input window (CLI)

Ouverte
#94,249 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:tui enhancement keybindings platform:linux
Langage dominant
Python
Étoiles
145k
Forks
23.1k
Métriques de merge des PR
Métriques de PR en attente

Description

**Bug Description**
Pressing Esc cancels the current operation. However, pressing Esc twice clears the input window. Each time I want to clear my input window and I'm typing too slowly, it cancels an operation. That's bad UX.

**Environment Info**
- Platform: linux
- Terminal: xterm-256color
- Version: 2.1.270
- Feedback ID: e407e752-86a5-458d-b25d-04614223a676

**Similar issues**
https://github.com/anthropics/claude-code/issues/83698
https://github.com/anthropics/claude-code/issues/87095
https://github.com/anthropics/claude-code/issues/87140

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by reproducing the Esc behavior in the CLI using the environment described: Linux, xterm-256color, version 2.1.270. Trace the existing Esc and double-Esc handling, then verify that canceling an operation and clearing the input window use separate keybindings without interfering with each other.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
cli
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Active
Clarté
Plutôt claire
Accessibilité débutants
48/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.