[Bug] Terminal TUI strobing effect caused by unreaped child processes triggering excessive redraws

Resolved 💬 3 comments Opened Jan 1, 2026 by NayefrAlotaibi Closed Jan 5, 2026

Bug Description
Bug Description
The terminal scrolls aggressively with a stroboscope-like effect - approximately every 100ms the view jumps to the top and back to the current position. This creates a painful flashing effect that is hard on the eyes and makes it difficult to work while Claude Code is running.
Interestingly, running Claude Code as a background task (claude --background or headless mode) does not exhibit this issue, which suggests the problem is specific to the TUI rendering.
Potential Debug Clue
I noticed a (git) zombie process appearing and disappearing in sync with the scrolling flashes. This zombie process cycles repeatedly while Claude is working. This could be a symptom of the same TUI refresh bug - possibly Claude Code is spawning git processes that complete but trigger terminal redraws before being properly reaped.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.76
  • Feedback ID: c12b02d0-b360-4ed2-8500-f05e2da41805

Errors

[]

View original on GitHub ↗

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