mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[GH-ISSUE #184] Support Renderer background alpha (current render buffer) #39
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#39
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 @macklinu on GitHub (Sep 26, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/184
Hello, RGBA seems to be working for border styles but not for the background color of a
<box>or as set through the renderer.Steps to reproduce
For example, my terminal has a dark blue background:
If I run
bun src/index.tsx, I see a black background color (nothing is set by default in the generated@opentui/reactfrom what I can tell).Next, add a background color with 100% opacity (I believe 255 is the right value?).
Next, change the alpha channel to 0:
Expected: I would see a terminal with my blue terminal theme background
Actual: I see a black background (below)
I've also tried the following but they don't achieve the desired result.
Versions
@kommander commented on GitHub (Sep 26, 2025):
Yes, that is a known limitation at the moment. It will support that moving forward.
Edit: Box over box or other things works, but not with alpha on the lowest level showing the terminal background.