[Bug] Diff text rendering broken on system theme switch with auto theme setting

Status Open
Reported on v2.1.281
Maintainer reply None cached
Activity 1 comment · opened Sep 24, 2026

Bug Description
i have light/dark mode set to switch automatically in macOS. in claude i have the theme set to auto. using ghosttty with the "theme = dark:Gruvbox Dark Hard,light:Gruvbox Light Hard"

when the system theme flips the text in claude for diffs ends up with the old colors. if i quit and resume the session it renders correctly.

after the theme filps:
<img width="1058" height="356" alt="Image" src="https://github.com/user-attachments/assets/23af6a96-2b83-4c41-b7e7-77b18b2ec1ef" />

after resuming it picks up the active colors:
<img width="658" height="336" alt="Image" src="https://github.com/user-attachments/assets/0268a99b-8ffe-4c02-97eb-e71d8c2fea34" />

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.281
  • Feedback ID: fbedd9cc-8f54-43d8-84c7-4dc82f1c573b

Errors

[]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗