claude agents: scrolling up in conversation view renders ANSI escape sequence artifacts in first 1-2 columns

Resolved 💬 3 comments Opened May 14, 2026 by kumaakh Closed May 15, 2026

Environment

  • Claude Code version: 2.1.141 (latest)
  • OS: Windows 11
  • Terminal: VS Code integrated terminal (Command Prompt)

Steps to reproduce

  1. Run claude agents
  2. Enter any existing conversation with enough history to scroll
  3. Scroll up through the conversation history

Expected behavior

Conversation history renders cleanly with correct formatting.

Actual behavior

Scrolling corrupts the display. Unprocessed terminal/ANSI escape sequence bytes appear as literal characters at the start of lines (e.g. Te, --, ), while the actual content is cut off on the right. Every scroll action re-triggers the corruption.

From the screenshot, affected lines look like:

Te    multiagent={
--    model="claude-opus-4-7"
┌        "agents": [{"type":

...where the first 1-2 characters are escape sequence artifacts, not content.

Workaround: Navigate back to the agents list (back arrow) and re-enter the conversation. Display renders correctly until the next scroll event.

Screenshot

Scrolling corruption in claude agents conversation view](https://github.com/user-attachments/assets/placeholder
(screenshot shows Te, --, artifacts in first 1-2 columns on every line)

<img width="173" height="530" alt="Image" src="https://github.com/user-attachments/assets/ff3dcde2-e191-4836-9e09-34b67daeef08" />

Notes

  • Specific to the claude agents conversation scroll view — does not reproduce in normal Claude Code chat
  • The artifact characters (Te, --, ) appear to be ANSI escape sequence bytes rendered literally instead of being interpreted by the terminal renderer
  • Unrelated to the general display corruption in #21738 — this has a consistent, reproducible trigger (scrolling) and is confined to the agents feature UI

View original on GitHub ↗

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