[BUG] Arrow keys output raw escape sequences in interactive menus (v2.1.92 regression)

Resolved 💬 3 comments Opened Apr 4, 2026 by qurioos Closed Apr 7, 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?

Claude Code version: 2.1.92 (not present in 2.1.91)
OS: macOS (Apple Silicon)
Terminals tested: Terminal.app, VS Code integrated terminal, Google Antigravity terminal — same behavior on all.
Description:
Arrow keys in interactive menus (e.g. /plan task picker) output raw ANSI escape codes (^[[A^[[B^[[B^) instead of navigating the menu options. Typing and submitting text works fine — only arrow key navigation is broken.
Steps to reproduce:

What Should Happen?

Expected: Menu selection moves up/down
Actual: Raw escape sequences like ^[[B^[[Ba^[[Ba^[[B appear in the input
Workaround: Downgrade to 2.1.91 (npm install -g @anthropic-ai/claude-code@2.1.91)

Error Messages/Logs

Steps to Reproduce

Install Claude Code 2.1.92
Launch claude
Type /plan and press Enter
Press up/down arrow keys in the menu

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

v2.1.91

Claude Code Version

v2.1.92

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

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