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

Status Open
Reported on v2.1.270
Maintainer reply None cached
Activity 0 comments · opened Sep 14, 2026

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

View original on GitHub ↗