Description:
When suspending OpenCode with Ctrl+Z and resuming with fg, the TUI displays visual artifacts, specifically transparency bleeding through cell backgrounds in terminals like kitty that have background transparency enabled.
Steps to Reproduce
- Set
background_opacity below 1.0 in kitty.conf
- Run any OpenTUI app in Kitty
- Press
Ctrl+Z to suspend
- Run
fg to resume
Expected Behavior
TUI renders identically after resuming with no visual changes.
Environment
- Terminal: Kitty with
background_opacity 0.85
- OS: Arch linux
- Shell: zsh
note:
resizing fixes it.