CLI
Tab commands
Create, close, focus, cycle, and reorder koshi tabs from any shell.
new-tab
koshi new-tab
koshi new-tab --session <NAME_OR_ID>Creates one tab with one shell pane. Output contains the tab id first, then the root pane id.
close-tab
koshi close-tab
koshi close-tab --tab <NAME_OR_ID>
koshi close-tab --tab <NAME_OR_ID> --session <NAME_OR_ID> --forceClosing a tab closes every pane and process inside it. --force skips the
normal close guard.
Cycle tabs
koshi next-tab
koshi previous-tab
koshi next-tab --client <CLIENT_ID>Cycling changes one client's view. --client chooses the attached terminal.
Focus one tab
koshi focus-tab --index 0
koshi focus-tab --tab <TAB_ID>
koshi focus-tab --tab <TAB_ID> --client <CLIENT_ID>--index is zero-based. Use either --index or --tab.
Reorder
koshi move-tab --index 0
koshi move-tab --tab <TAB_ID> --index 2Moves the chosen tab to a zero-based index without changing its pane layout.