claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Screen flickers during task tool work

Open jean-moorman opened this issue 3 months ago • 5 comments

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

  1. open claude code
  2. use the task tool
  3. 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

jean-moorman avatar Nov 04 '25 19:11 jean-moorman


Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/769
  2. https://github.com/anthropics/claude-code/issues/10008
  3. 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


github-actions[bot] avatar Nov 04 '25 19:11 github-actions[bot]

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 avatar Nov 07 '25 18:11 softwarecatscomgm

@softwarecatscomgm can you elaborate how to do this?

paulgeorge avatar Nov 16 '25 12:11 paulgeorge

@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-+1, ctrl-+2, etc.

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

softwarecatscomgm avatar Nov 27 '25 15:11 softwarecatscomgm

happens on wsl2 only during task tool usage, constant refreshing of the buffer causing screen flicker

jean-moorman avatar Dec 24 '25 01:12 jean-moorman