mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[GH-ISSUE #393] Add opacity to box #97
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#97
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 @dested on GitHub (Dec 7, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/393
This is just a wishlist thing, but it would be really nice for Box to have an opacity that effects everything inside of it. I tracked things down to drawBox in buffer.zig but it gets dicey after that. Any advice on how this could, or even IF it could be implemented?
@kommander commented on GitHub (Dec 10, 2025):
It definitely can be implemented. It is not trivial though, the renderable tree would have to support alpha channel inheritance. Stacking such alpha areas makes it even worse. It could work in rendering like the scissors do to define push and stack areas that influence alpha, or tinting kind of.
@dested commented on GitHub (Dec 11, 2025):
I don't mean to spam but I am absolutely floored. Thank you team ❤️