Slash command menu displays repeatedly and doesn't close with Escape

Resolved 💬 5 comments Opened Oct 27, 2025 by mlik-sudo Closed Jan 10, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When typing / to access the slash commands menu, the menu displays repeatedly and remains visible even after pressing Escape. This happens systematically on every attempt.

What Should Happen?

The slash command menu should close when pressing Escape, leaving a clean prompt.

Error Messages/Logs

The menu continues to display repeatedly, creating visual clutter like:
> /mcp
╭─────────────────────────────────────────────────────────────────────────
─────╮
> /mcp
╭─────────────────────────────────────────────────────────────────────────
─────╮
> /mcp
╭─────────────────────────────────────────────────────────────────────────
─────╮
...

Steps to Reproduce

  1. Launch Claude Code CLI
  2. Type / to open the slash commands menu
  3. Press Escape to try to close the menu
  4. Observe that the menu remains displayed and repeats multiple times

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.27

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Xterm

Additional Information

  • OS: macOS 25.0.0 (Darwin)
  • Terminal: xterm-256color
  • Shell: zsh
  • Frequency: Systematic (happens 100% of the time)
  • Workaround: Currently using claude mcp commands directly from bash instead of the interactive slash menu.

View original on GitHub ↗

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