Several screens

Woolshed can open a window on each of your displays. They share every space and agent, and each shows its own tab.

  • Several screens. Woolshed can open a window on each display (window.new, window.spread; the screens button in the sidebar header, the Window menu on macOS). Every window is a client of the same core: all list the same spaces, tabs and agents (an agent started anywhere shows in every Agents list), and each shows its own space and tab with its own focus, zoom, settled tabs and layout. Window 1, the main window, does what must happen once: it adopts terminals with Woolshed's labels, closes panes whose terminal ended, and rings alerts (the toast shows in the window that shows that agent's tab, else the one in front). A tab is shown in one window at a time: tab.select and agent.focus on something another window shows bring that window to the front, and space.select shows a tab of that space no window shows, else brings that window forward (here: true shows it in this one); tab.send / space.send move it to another window; a tab dragged out of the shipped tab bar onto another screen goes there (tab.drag); and a pane dragged by its grip onto another window joins the tab there (see movable). window().windows lists the windows; the shipped tabs and spaces mark what another window shows with its number. Each window remembers its display. When a display is unplugged, its windows fold away (nothing ends; their spaces are in every window's list) and open there again when it's back; on macOS window 1 goes back to its display too. Closing a window on another screen forgets it; closing window 1 on Linux and Windows quits them all.

Your agents read these same words: Woolshed writes this guide to ~/.config/woolshed/AGENTS.md on every start. In it, “you” is the agent and “the person” is you.