fix(app): suspend hidden terminal renderer (#33990)

Co-authored-by: Test <test@opencode.test>
This commit is contained in:
opencode-agent[bot] 2026-06-26 02:28:36 +00:00 committed by GitHub
commit 45badf7163
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 80 additions and 1 deletions

View file

@ -293,7 +293,7 @@ export function TerminalPanel() {
</Tabs.List>
</Tabs>
<div class="flex-1 min-h-0 relative">
<Show when={terminal.active()} keyed>
<Show when={opened() && terminal.active()} keyed>
{(id) => {
const ops = terminal.bind()
return (