[BUG] Screen flickers during task tool work
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 the task tool is working, the screen flickers constantly as if the content buffer is scrolling to the top and then back to the bottom over and over again. This is similar to a bug I report previously but in this case, the issue only happens while the task tool is active.
What Should Happen?
the claude code screen should stay displaying the bottom of the content buffer or whereever the scroll position is set to
Error Messages/Logs
Steps to Reproduce
- open claude code
- use the task tool
- watch the screen spaz out
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
not sure, bug started happening a couple weeks ago
Claude Code Version
2.0.32
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
i suspect this bug is related to the use of claude code on WSL
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/769
- https://github.com/anthropics/claude-code/issues/10008
- https://github.com/anthropics/claude-code/issues/1480
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
This can also be mitigated by having an command/ mode (similar to ctrl+o for output) which will collapse all task outputs under the task bullet
@softwarecatscomgm can you elaborate how to do this?
@paulgeorge
This is how it works today
o Task description
Lots of task commands and output
Lines and lines of task activities
Each time this area is added to the screen redraws
This is how it could work:
> Task description
Press ctrl-1 (for the first task), ctrl-2 for the 2nd task or ctrl-
v Task description
Lots of task commands and output
Lines and lines of task activities
The task can be expanded in place or displayed on an alternate screen similar to ctrl-o
happens on wsl2 only during task tool usage, constant refreshing of the buffer causing screen flicker