[BUG] Sub-agent status line repeatedly prints new lines instead of updating in place
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 running sub-agents (e.g., Explore agent via Task tool), the status indicator that should remain fixed at the bottom of the terminal is instead being printed repeatedly as new lines, causing the screen to scroll continuously with duplicate status messages.
What Should Happen?
Actual Behavior The status line is printed repeatedly, creating many duplicate lines with large gaps between them. The terminal scrolls continuously while the agent runs, making it impossible to see other content.
Expected Behavior The agent status (e.g., ● Explore(Find entity attribute patterns)) should display as a single, updating status line at the bottom of the terminal, similar to how other long-running operations display.
Error Messages/Logs
Steps to Reproduce
- Start Claude Code
- Ask a question that triggers a sub-agent (e.g., "What is the codebase structure?" which triggers Explore agent)
- Observe the terminal output while the agent runs
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.76
Claude Code Version
2.1.4
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/17025
- https://github.com/anthropics/claude-code/issues/16578
- https://github.com/anthropics/claude-code/issues/13113
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code