Focus mode, maximize and Mission control
Three views for different moments. Focus mode hides everything but the panes. Maximize fills the window with one pane. Mission control draws the whole agent hierarchy as a graph.
Focus mode
- Show a session or a group. Press Ctrl+Shift+E, or click the focus button at the right of the pane header. The item is also in the View menu and in the pane's right-click menu.
- The side panel, the top bar and the status bar go away. The panes of the view fill the window.
- Press Ctrl+Shift+Up or Ctrl+Shift+Down to move the keys to the next or previous pane of the view.
- Press Ctrl+Shift+E again to leave. Going to another view, with Ctrl+Shift+J, the palette or a project key, leaves it too.
On Admiral's pane, focus mode keeps the Ledger panel. Maximize hides it.
Full screen: maximize a pane
- Focus a pane of a group. Press Ctrl+Shift+Enter, or click the maximize button in the pane header. The item is also in the View menu as Maximize pane.
- That pane alone fills the window, with the same chrome hidden.
- Press Ctrl+Shift+Up or Ctrl+Shift+Down to maximize the next or previous pane of the group in its place.
- Press Ctrl+Shift+Enter again, or click Restore pane, to go back. From focus mode, a maximize goes back to focus mode.
With one pane on screen, focus mode and maximize are the same view. Either key leaves it.
Mission control
Mission control is a canvas over the whole window with the agent hierarchy as a graph: Admiral at the top left, the fleet and project Skippers under it, each project a cluster of session cards, and lines between them for the hand-offs and tasks in the ledger. It shows who works, who waits and who gave what to whom, and takes you to one of them. It is read-only: keys do not go to the sessions.
- Press Ctrl+Shift+A, or click View › Mission control. The graph opens fitted to the window, then closer on the session you came from.
- A card is one session: the state mark, the agent, the title, and its ledger task with the task's uid. The time in its head says how long the session has been in its state. Admiral and each Skipper show as a small terminal window instead, with its face on the left. The column at the right has three lines: the state, the current task and the counts. A Skipper counts its open tasks and the panes of those tasks that wait.
- When a session waits, the state line says why: bell when the program rang the bell, approval when a prompt asks for an answer, action when the title asks for action, and blocked when the program reports that it is blocked.
- A line from Admiral to a Skipper is a hand-off. A line from a Skipper to a pane is a task. Lines are solid, with right angles. A line takes the child's state color: blue while it works, amber while it waits, grey otherwise.
- The layout is fixed. Admiral sits at the top left, with a line down the left side. Each fleet, and each project in no fleet, is a tidy tree in a grid cell: its Skipper's window on top, its projects and cards under it, in the order of the side panel. Other comes last. A card or a cluster does not move when you drag it.
- Click Running or All at the right of the search cell, or press Ctrl+Shift+E. Running dims every card that does not work or wait, and folds a project with nothing running to one card. Skiff remembers the choice.
- Drag empty space or use the wheel to pan, Ctrl+wheel to zoom, Home to fit. Click a cluster head, or its chevron, to fold it. Ctrl+Shift+M opens the board menu: Fit, Fold all and Open all.
- The panel under the canvas shows the lit card: the last lines of its screen, its task, owner, state and result. Ctrl+Alt+Shift+L folds it to a rail.
- Use the arrows to light a card: Up the parent, Down the first child, Left and Right the cards beside it. Ctrl+Shift+J lights the next waiting card. Press Enter, or click a card, to go to that session. Ctrl+Shift+Enter goes to it maximized, and again comes back to the board.
- Press Ctrl+Shift+P to search the cards by project, agent, title, task or state. Press Ctrl+Shift+A or Esc to close. With text in the search, the first Esc clears it.
A waiting card out of view shows as an amber square at the edge of the canvas. Click it to bring the card into view. The wiki page lists every key and mouse action.
A new skiffd records why a session waits. After an update to 1.9.4, the top bar can show Update needs a restart. Click it and pick Restart skiffd…. The sessions stop, and each pane comes back as a shell in its folder. Until the restart, the state line shows no cause.
Skiff