Skip to content

Windows, tabs, and quitting

macSCP is a document-style app with real macOS windows and tabs. Each connection lives in a tab; each tab carries its own connection.

  • ⌘N opens a new tab, ⌘W closes the current one, ⌘1–9 selects a tab by number.
  • Move a tab into a window of its own, or drag a tab into another open window — the tab moves with its connection intact. Dropping a tab outside every window of ours opens a new one for it; duplicating a tab reconnects when its source is connected.
  • Reorder tabs by dragging; a highlight shows which tab a dragged tab will land on.
  • The tab strip has a context menu offering both panes, not just the terminal.
  • Closing several tabs asks once.
  • Every window keeps its session: connection and session state belong to the window, never to the app as a whole.

A tab is named after what it shows: the saved session it is connected to, connecting to, or editing, or the session whose overview it shows. A connection that was never saved shows its address, and an empty tab reads New Connection. The window title follows the tab: “macSCP — prod”.

The main window remembers the size you give it while it shows a connection: the next time you connect — also after quitting and relaunching — it comes back at that size, on the same display, and never smaller than a connected window needs. A window that has not connected yet starts compact and grows to that size the first time you connect in it. Once a window has carried a connection, it keeps the size you gave it: closing the connection leaves the window as it is. Nothing is remembered while the window is in full screen. Windows you opened by moving a tab out keep their size only while macSCP runs.

The Settings window can be resized, too, and remembers its size and position.

A window can stay above the rest — useful for keeping a transfer’s destination visible while working in another window.

Optionally, your windows reopen the way you left them the next time you launch — disconnected until you click in, so no connection is opened behind your back. The windows on screen at quit are the ones restored, and a restored tab shows its session’s overview.

⌘Q runs every open window’s own close sequence in order — the transfer queue’s cancel-all, the terminal’s shutdown, then the disconnect — bounded by a watchdog that decides when no further tab may start. Tunnels stop before the windows, and a diagnostic log is flushed so nothing is lost.