mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 21:15:52 +03:00
[PR #225] [MERGED] feat: add support for transparent terminal background rendering #1159
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#1159
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?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/225
Author: @KeremP
Created: 10/22/2025
Status: ✅ Merged
Merged: 10/25/2025
Merged by: @kommander
Base:
main← Head:main📝 Commits (5)
1579cb9feat: add transparent background support and improve dev linking06793dcrevert example back1bce96frevert examplebf35e85cleanupd2714e5make transparent background default. run prettier📊 Changes
3 files changed (+55 additions, -8 deletions)
View changed files
📝
packages/core/src/renderer.ts(+3 -2)📝
packages/core/src/zig/renderer.zig(+13 -6)📝
scripts/link-opentui-dev.sh(+39 -0)📄 Description
This addresses https://github.com/sst/opentui/issues/184 by defaulting to terminal background if renderer alpha channel is 0.
The transparent background can be set by using
renderer.setBackgroundColor("transparent")for example inpackages/react/examples/basic.tsx.Example in ghostty

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.