0xTerm

A minimal terminal workspace for macOS, drawn by the GPU.


Features

Drawn by the GPU

The terminal grid is painted through Metal every frame, in 16, 256 or truecolor, with bold, italic, underline and wide characters. Parsing runs on its own thread, so a flood of output never blocks typing.

A real login shell

Each pane runs your shell as a login shell on its own pty, with TERM=xterm-256color and truecolor. Launching from the Dock still gets your PATH.

A terminal that behaves

Scrollback, mouse selection by word, line or block, copy and paste, bracketed paste, mouse reporting, focus events, synchronized updates and IME input. Block, bar and underline cursors.

Tabs and splits

Split right with ⌘D and down with ⇧⌘D, then drag the divider. Inactive panes dim, so you always know where your keys are going. A tab is named after its running job, like vim or htop, and falls back to the folder name. Double-click a tab to give it a name of your own; clear the name to go back. Tabs share one row with the window buttons, so the title bar takes no extra space.

A file tree that follows your shell

The sidebar shows the folder your active pane is in. cd and it follows, through OSC 7 when the shell sends it and the process table when it doesn’t. Folders come first, .git and .gitignored files stay out of the way, and the tree updates live as files change.

Search the folder

⇧⌘F searches the whole folder, ripgrep-style, off the main thread. Hits are grouped by file. Click one and it opens at that line.

A file editor beside the shell

Click a file and it opens on the right with syntax highlighting, line numbers and ⌘F find with a match count. Type to change it and ⌘S to save. A save never leaves half a file, and the file keeps its permissions, tags and links. Tabs follow the file as it changes on disk, so you can still edit in the terminal and read the result next to it. If the file changes while you have unsaved edits, you choose which copy to keep, and quitting asks before anything is lost.

New File… (⌥⌘N, or right-click a folder in the tree) asks for a name and opens the new file. Files that aren’t UTF-8 open read-only, so saving can never mangle them.

Markdown and Mermaid preview

Markdown renders as a document. Mermaid diagrams are drawn natively, with no browser inside the app, and follow light and dark mode.

⌘-click a path

Any path:line in the terminal is a link. ⌘-click it and the viewer opens the file at that line, resolved against the pane’s working folder. Web and mail links open in your browser or mail app, and file links in the viewer. OSC 8 hyperlinks and Markdown links, whose text can differ from where they go, show the address and ask before opening.

Drag a file in

Drag a file from the tree onto a pane and its path is typed at the prompt, quoted for the shell you’re in. Right-click the tree for cd Here, New Tab Here, Insert Path and Copy Path.

Settings, in one config file

Settings… (⌘,) sets the app icon, font, shell, scrollback, the Option key and the theme. Everything lives in ~/.config/0xterm/config.toml, along with both color palettes. Settings writes only the key you changed and keeps your comments, and changes apply to open windows as soon as they’re saved. The theme follows the system’s light and dark mode unless you pin one.

Your icon

Pick one of twelve official icons or import your own .svg or .icns. The Dock changes right away, and the icon stays after you quit.

Native on the Mac

Native menus, a Dock icon, ⌘N for new windows and a DMG installer.