anthropics / anthropics/claude-code

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

未关闭
#94,249 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:tui enhancement keybindings platform:linux
主要语言
Python
星标
145k
派生
23.1k
PR 合并指标
PR 指标待抓取

描述

**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

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
cli
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。