Skip to content

Transparency artifacts after Ctrl+Z suspend/resume in terminals with background opacity #922

@acegikmoo

Description

@acegikmoo

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

  1. Set background_opacity below 1.0 in kitty.conf
  2. Run any OpenTUI app in Kitty
  3. Press Ctrl+Z to suspend
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions