Skip to content

feat(react): expose allowTransparency prop on ProcessTerminal#298

Open
Crunchyman-ralph wants to merge 2 commits intorivet-dev:mainfrom
Crunchyman-ralph:fix/process-terminal-allow-transparency-prop
Open

feat(react): expose allowTransparency prop on ProcessTerminal#298
Crunchyman-ralph wants to merge 2 commits intorivet-dev:mainfrom
Crunchyman-ralph:fix/process-terminal-allow-transparency-prop

Conversation

@Crunchyman-ralph
Copy link
Copy Markdown
Contributor

One-line change: adds an optional allowTransparency prop to ProcessTerminal, forwarded to the ghostty.Terminal constructor. Default remains true, so existing behaviour is unchanged.

Lets consumers opt out of the upstream ghostty-web@0.4.0 transparent-background canvas bug (coder/ghostty-web#116 — fix merged but unreleased per coder/ghostty-web#137) without having to fork the component.

Fixes #297

Default stays `true` to preserve current behaviour. Consumers can pass
`false` to opt out of the upstream ghostty-web@0.4.0 transparent-bg
canvas bug (coder/ghostty-web#116, unreleased per coder/ghostty-web#137)
without having to fork the component.

Fixes rivet-dev#297
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: ProcessTerminal canvas stacks stale content because allowTransparency is hardcoded on ghostty-web@0.4.0

1 participant