claude-code - 💡(How to fix) Fix [BUG] tui: fullscreen + /memory + select memory = unusable terminal, hard stuck even closing/reopening doesn't work

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

Root Cause

When TUI fullscreen and invoking /memory + selecting one, terminal because unusable, and it's impossible to recover

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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" />

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING