claude-code - 💡(How to fix) Fix [Bug] Terminal hangs when using arrow keys after escape in IntelliJ with -r flag [1 comments, 2 participants]

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…
GitHub stats
anthropics/claude-code#52785Fetched 2026-04-25 06:21:00
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×3commented ×1cross-referenced ×1
RAW_BUFFERClick to expand / collapse

Bug Description When I end Claude in a long session in the IntelliJ terminal and reopen it with -r, then press Escape twice and then the up arrow, the terminal freezes.

Environment Info

  • Platform: darwin
  • Terminal: intellij
  • Version: 2.1.119
  • Feedback ID: d205d8ae-3dd0-4873-ae81-4ddc67bf8d93

extent analysis

TL;DR

The issue may be resolved by updating the terminal configuration or the IntelliJ version to address potential compatibility issues.

Guidance

  • Verify that the issue persists when using a different terminal or IDE to isolate the problem.
  • Check for any available updates for IntelliJ and the terminal plugin to ensure the latest versions are installed.
  • Try resetting the terminal settings to their default values to see if the issue is related to a specific configuration.
  • If the issue is specific to the -r flag, try removing it or using an alternative flag to see if the behavior changes.

Notes

The issue seems to be specific to the combination of IntelliJ, the terminal, and the -r flag, so the solution may involve updating or configuring one of these components.

Recommendation

Apply workaround: Try updating IntelliJ and the terminal plugin to the latest versions, as this may address any compatibility issues that are causing the terminal to freeze.

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

claude-code - 💡(How to fix) Fix [Bug] Terminal hangs when using arrow keys after escape in IntelliJ with -r flag [1 comments, 2 participants]