Windows and Tabs
The tab bar#
Titles, a per-tab close button, a + for a new tab, and a gear for Settings. When tabs overflow, the bar scrolls with left and right arrows and stays clear of the trailing buttons so you never lose the +.
The empty part of the bar is draggable, because the title bar is hidden. Double-clicking it zooms the window.
Tab titles#
A title shows the basename of the foreground command, so node index.js reads as node. If a program emits an OSC title while it runs, that wins. When nothing is running, the title falls back to your login shell.
Working directory for new tabs#
This is the part people notice.
- ⌘T or + opens in the active tab's working directory. That is normally the shell process cwd, or the OSC 7 directory when your shell emits one.
- New windows start in
$HOME. - A replacement tab after a shell exits also starts in
$HOME.
So a new tab follows you into the project you are in, and a new window gives you a clean slate.
Closing#
Closing a tab with a foreground process asks for confirmation first. You can turn that off in Settings → Window; see Settings Reference.
Closing the last tab closes the window. But if the shell in the last tab exits on its own, JusTTY opens a fresh tab instead of vanishing the window out from under you.
Related#
- Keyboard Shortcuts — the tab bindings in one table
- Architecture — why background tabs keep running (tab parking)