feat(desktop): Terminal Splits (#8767)

This commit is contained in:
Daniel Polito 2026-01-16 13:51:02 -03:00 committed by GitHub
commit 88fd6a294b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 729 additions and 71 deletions

View file

@ -14,8 +14,8 @@ export function SortableTerminalTab(props: { terminal: LocalPTY }): JSX.Element
<Tabs.Trigger
value={props.terminal.id}
closeButton={
terminal.all().length > 1 && (
<IconButton icon="close" variant="ghost" onClick={() => terminal.close(props.terminal.id)} />
terminal.tabs().length > 1 && (
<IconButton icon="close" variant="ghost" onClick={() => terminal.closeTab(props.terminal.tabId)} />
)
}
>