Skip to content

Add transparency/translucent background support for TUI #11866

@JosXa

Description

@JosXa

Summary

Add support for transparent/translucent terminal backgrounds in the TUI, allowing the terminal's background to show through opencode.

Motivation

Many users prefer translucent terminal windows for aesthetic reasons or to see content behind the terminal. Currently, opencode renders with an opaque background that overrides any terminal transparency settings.

Proposed Solution

  • Add a toggle command in the TUI to enable/disable transparency
  • When enabled, set the background color to fully transparent (RGBA 0,0,0,0)
  • Persist the setting so it's remembered across sessions

Additional Context

This feature has been requested and implemented in PR #5657.

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions