ESC key stops working in /status view after using arrow keys

Resolved 💬 3 comments Opened Mar 26, 2026 by salmoshe Closed May 28, 2026

Bug Description

In Claude Code CLI, when using /status (and other modal views like /config), the ESC key stops working to dismiss the view after interacting with arrow keys to scroll.

Steps to Reproduce

  1. Open Claude Code in terminal
  2. Run /status
  3. Press arrow keys (e.g., right arrow) to scroll/navigate
  4. Press ESC to exit

Expected: ESC dismisses the /status view
Actual: ESC does nothing. The view is stuck.

Notes

  • If ESC is pressed immediately after /status (before any arrow key usage), it works correctly.
  • Ctrl+C also does not work to exit.
  • Only Ctrl+Z (suspend) works as a workaround, and after resuming with fg, ESC works again.
  • Related to #32947 (ESC key doesn't work on Status/Usage tabs in /config menu).

Environment

  • macOS (Darwin 24.6.0, Apple Silicon)
  • Claude Code CLI running in terminal (both standalone terminal and JetBrains integrated terminal)

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗