Bug: Memory menu becomes unresponsive after showing user memory

Resolved 💬 3 comments Opened Mar 20, 2026 by HomyeeKing Closed Mar 23, 2026

Description

When the memory menu pops up and shows "User memory ✓", the interface becomes unresponsive to keyboard input. The terminal shows garbled characters like ^[[B^[[B^[[A^[[A^[[A^[[ instead of responding to Enter/Esc keys.

Steps to Reproduce

  1. Trigger the memory feature in Claude Code
  2. The memory menu appears showing:
  • User memory ✓
  • Project memory
  • Open auto-memory folder
  1. Try to press Enter to confirm or Esc to cancel
  2. Interface is unresponsive and shows escape sequences

Expected Behavior

  • Enter key should confirm the selection
  • Esc key should cancel the operation
  • Arrow keys should navigate between options

Actual Behavior

  • Keyboard input produces escape sequences (^[[B, ^[[A, etc.)
  • Menu remains stuck and cannot be dismissed
  • Requires Ctrl+C to exit

Environment

  • Claude Code version: [please fill in]
  • Terminal: [please fill in]
  • OS: [please fill in]

Screenshot

<img width="1496" height="426" alt="Image" src="https://github.com/user-attachments/assets/77704767-a0aa-4806-be81-b4f2678600ef" />

Additional Context

The issue occurs specifically after "User memory" is shown with a checkmark, suggesting the state transition may be interfering with input handling.

View original on GitHub ↗

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