[BUG] tui: fullscreen + /memory + select memory = unusable terminal, hard stuck even closing/reopening doesn't work

Resolved 💬 1 comment Opened May 26, 2026 by ngouy Closed Jun 27, 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 TUI fullscreen and invoking /memory + selecting one, terminal because unusable, and it's impossible to recover

What Should Happen?

we should be able to "quit" memory view and go back to agent input

Error Messages/Logs

Steps to Reproduce

Setup:

  • Claude version: v2.1.150
  • Iterm: Build 3.4.4 (+ zsh)

Steps to reproduce:

  • Enable TUI
  • Spin up a new session/agent
  • from that agent, invoke /memory
  • select a memory and type enter (example: ❯ 1. User memory Saved in ~/.claude/CLAUDE.md). VERY IMPORTANT. Only selecting a file triggers the corruption
  • Claude opens the file in my ide
  • When I focus back in the terminal, it prints any capture any keyboard AND mouse input, and doesn't do anything
  • typing ctrl+c does nothing
  • typing esc does nothing
  • typing anything keyboard does nothing
  • can't even select caracters anymore.
  • Just print stuff
  • I'm stuck and I can't recover my session
  • when closing terminal and reopening the session, it goes back to stuck mode

<img width="1014" height="127" alt="Image" src="https://github.com/user-attachments/assets/498a5eee-75c3-4e3b-9922-af4cf42d674c" />

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

v2.1.150

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

<img width="841" height="1054" alt="Image" src="https://github.com/user-attachments/assets/bc19f8fa-c5cf-40e1-80c6-3b0857505005" />

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗