claude-code - 💡(How to fix) Fix TUI text garbles when backspacing back to agents view; maximizing window forces redraw

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…

Fix Action

Fix / Workaround

When navigating from a subagent view back to the agents list via backspace, rendered text becomes garbled / overlapping. Workaround: maximize the terminal window — triggers a resize event that forces a full repaint and clears the corruption.

  1. Open Claude Code, dispatch a subagent (Agent tool or /agents).
  2. Navigate into the agent's view.
  3. Press backspace to return to the agents list.
  4. Observe stale / overlapping characters on screen.
  5. Maximize the terminal window → screen redraws cleanly.
RAW_BUFFERClick to expand / collapse

Bug

When navigating from a subagent view back to the agents list via backspace, rendered text becomes garbled / overlapping. Workaround: maximize the terminal window — triggers a resize event that forces a full repaint and clears the corruption.

Repro

  1. Open Claude Code, dispatch a subagent (Agent tool or /agents).
  2. Navigate into the agent's view.
  3. Press backspace to return to the agents list.
  4. Observe stale / overlapping characters on screen.
  5. Maximize the terminal window → screen redraws cleanly.

Expected

View transition should issue a full screen clear + repaint, not leave stale cells behind.

Environment

  • Claude Code: 2.1.142
  • OS: Windows 11 Pro 10.0.26200
  • Shell: bash (Git Bash / MSYS)

Notes

Suggests the agents-view back-navigation path skips the full-redraw step that other view transitions do. Ctrl+L does not always clear it; only a true terminal resize event reliably forces the repaint.

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