mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[GH-ISSUE #674] Renderer alpha blends against black when root is transparent #952
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#952
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @akronb on GitHub (Feb 12, 2026).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/674
Problem\nWhen the root renderable uses a transparent background, semi-transparent overlays (e.g., dialog dimmers) blend against black rather than the terminal's real background. This makes overlays appear black on light terminal themes.\n\n## Expected\nAlpha blending should composite against the terminal background, or the renderer should allow configuring a clear/composite base color.\n\n## Impact\nApps like OpenCode need transparency for system theme, but overlays become unreadable on light terminals unless we force an opaque backdrop while dialogs are open.\n\n## Possible solutions\n- Add a renderer option to composite transparent cells against the terminal background\n- Expose a configurable framebuffer clear color for alpha blending\n- Provide a hook to supply a background color when blending\n
@akronb commented on GitHub (Feb 12, 2026):
Sorry about that, feel free to remove