Bring a running pane of another tab into the current tab as a split
Problem
With several tabs open in a workspace, the only way to watch or drive two running agents side by side is to switch tabs back and forth, or to open the browser's split view, which shows panes next to each other but leaves herdr's layout as it was. There is no way to take a pane that is already running in another tab and make it a split of the current tab, keeping its process.
Proposal
A pane's menu gets Bring pane here… after Split right and Split down. It opens a second menu, at the same place, listing the panes of the PC's other tabs (the pane's own workspace first, then the others, in the sidebar's order, each with its tab and workspace as a hint). Picking one moves that pane right of this one through the existing POST /api/pane/move; it keeps its terminal and running program, and can then be dragged to another side like any pane of the tab.
- One pane moves, never a whole tab: a split tab it leaves keeps its other panes, and a tab or workspace it leaves empty closes. herdr has no tab merge, and moving a split tab's panes one by one would lose its arrangement.
- herdr already moves a pane into another tab in one
pane.move(destination: { type: "tab", tab_id, target_pane_id, split }); today the bridge refuses it withcross_tab. On herdr-core the pane is relabeled into the tab and placed in Ovis's layout document.
Where
Terminal
Where it exists today
- herdr's own API/CLI:
herdr pane move <pane> --tab <tab> --target-pane <id> --split right|down. - tmux
join-pane(a pane of another window joins the current one beside a pane), kitty'sdetach_windowinto another tab.
Workarounds and alternatives
Switching tabs, or the browser's split view (a view only: herdr's tabs stay apart). A drop onto the canvas was considered, but the sidebar's and the strip's drags already open the split view.