Skip to content

Commit 71306cb

Browse files
committed
Revert "feat(desktop): Terminal Splits (anomalyco#8767)"
This reverts commit 88fd6a2.
1 parent 0866034 commit 71306cb

File tree

7 files changed

+71
-729
lines changed

7 files changed

+71
-729
lines changed

packages/app/src/components/session/session-sortable-terminal-tab.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export function SortableTerminalTab(props: { terminal: LocalPTY }): JSX.Element
1414
<Tabs.Trigger
1515
value={props.terminal.id}
1616
closeButton={
17-
terminal.tabs().length > 1 && (
18-
<IconButton icon="close" variant="ghost" onClick={() => terminal.closeTab(props.terminal.tabId)} />
17+
terminal.all().length > 1 && (
18+
<IconButton icon="close" variant="ghost" onClick={() => terminal.close(props.terminal.id)} />
1919
)
2020
}
2121
>

packages/app/src/components/terminal-split.tsx

Lines changed: 0 additions & 322 deletions
This file was deleted.

0 commit comments

Comments
 (0)