A tabbed terminal with tmux-style splits, where a pane can also be a notepad, a browser, or a viewer.
The point of it is the half-typed command. You are composing a long rsync, or
a git commit -m with a message you thought about, and the machine dies. Every
other terminal loses that. This one writes it to disk as you type and types it
back at the prompt when you reopen — never with a newline attached, so nothing
runs on your behalf.
-
Remembers unsubmitted input. Every prompt's current line is mirrored from your keystrokes, saved on a short timer, and restored on launch.
-
Restores what was on screen. Each pane keeps the screen as its emulator last drew it, so a recovered session shows what you were looking at — an agent's last frame included — rather than a bare shell, or the pile of fragments a replayed byte log makes of anything that redraws in place.
-
Keeps the process, not just the picture. New terminals run on a tmux session of their own where the machine has tmux, so a build, an
sshor an agent halfway through a long job is still running after jterm is not. -
Offers to pick up where it left off. Where the shell did die with the machine, the pane says what it was running and offers a button: Resume Claude Code, Codex or Gemini back into that conversation, with the flags it was started with — not whichever conversation in the folder is newest — or run the last command again where that is the resume. The card shows exactly what it will run, and Type it puts that at the prompt instead. A plain shell that was lost is also offered tmux, so it is not lost the same way twice.
-
Splits like tmux. Split, zoom, move focus by direction, resize from the keyboard, and drag a pane by its grip to rearrange the layout.
-
Floats a pane over everything. A pop-up sits on a rail along the bottom, overlapping the panes rather than displacing them, and stays there while you switch tabs — so the file you opened to refer to is still in front of you two tabs later. Drag it along the rail, minimise it to its title bar, or throw it full screen. Files opened from the tree land in one by default; Settings → Files changes that.
-
Moves a pane anywhere without restarting it. Move to ▸ on any pane header, pop-up header, or single-pane tab: onto the rail, beside a named pane, into another tab or a new one — or into another window. The pane keeps its id, so the shell behind it never notices it moved.
-
Opens more than one window. Each one keeps its own tabs and its own snapshot, and the ones open when a crash took the app come back with it. A window you close on purpose stays closed.
-
Says what each pane is for. A tab running Claude Code, one on a production host and one watching a build should not all wear the same terminal glyph. Each pane shows the program it is running — worked out live from the command, from a catalogue covering AI CLIs, editors, builds, containers, Kubernetes, cloud, databases and the rest — and Icon ▸ pins one by hand at either the pane or the tab level when the guess is not what you meant.
-
Folds a tab into a split. Drag a tab out of the strip and drop it on a pane: the tab's panes arrive as a split there, keeping the arrangement they already had. Nothing restarts — the shells behind them never notice.
-
Draws pictures, and says that it can. Sixel and iTerm's inline image protocol, so
chafa,timg,img2sixel, matplotlib's sixel backend and Codex's terminal pets all put an actual image in the pane. Half of that is the drawing; the other half is answering the question programs ask first — primary device attributes, and the pixel size of a cell — which is what jterm used to fail, and why anything that checked concluded it could not show a picture. It works inside tmux too, where the query gets no answer and the pixel size comes down through the pty instead. (Codex switches its pets off inside tmux for its own reasons; Settings → tmux → New terminals run on → A shell is the way round that one.) -
Opens more than shells. A notepad with syntax highlighting and save, a web pane, and viewers for images, video, audio and STL meshes. What opens is chosen from the file you picked; where it opens — a pop-up, a new tab, or a split on the side you like — is up to you, in Settings → Files.
-
Keeps five tools about where you are in the sidebar. The chevron at its top left switches between them, and all five follow the directory the focused terminal is in. Files is the tree. Search finds text and file names under it as you type, honouring
.gitignoreinside a repository. Git shows that repository — stage, unstage, commit, read a file's diff, pull, push, and the recent history — and leaves anything with a decision in it to the terminal beside it. GitHub lists its open pull requests and issues. Agent runs Claude Code, Codex or Gemini CLI there, whichever Settings → Agent names, and keeps it running while you switch tabs or close the sidebar. -
Reads a diff as a pane of its own. From the Git tab, the diff icon on a changed file, on the Staged or Changes heading, or a click on a commit in the history opens that diff as a pane — split it, drag it, float it, and it comes back after a restart like any other. Files collapse, hunks have line numbers on both sides, and Split puts old and new side by side, in your theme's own green and red. What is kept is what is compared, never the diff: the working tree is read again whenever you come back to the pane, so it shows the repository as it is now. A diff too long to read is cut at a few megabytes, and says so.
-
Reads pull requests and issues as panes. The sidebar's GitHub tool lists the open pull requests — draft or not, and how their checks stand — and issues of the repository you are in; a click opens one beside your work. A pull request has Conversation, Checks and Files: the discussion with a box to reply in, each check with a link to its log, and the changes in the same diff view as above. Check out puts its branch in your checkout, and Merge asks which way — merge commit, squash or rebase, whichever the repository allows — and does nothing until you confirm; when GitHub would refuse, the button is greyed and says why. An issue has its conversation, a reply box and Close issue. All of it goes through your own
gh— your login, your hosts, GitHub Enterprise included — so jterm holds no token of its own; without gh, or logged out, the pane says which, and what to type. Checks still running are read again every thirty seconds while the pane is on screen, and nothing else polls. -
Hands the agent the app, not just the files. The sidebar's agent is always started connected to jterm's own MCP server, so it can list your tabs and panes, read what the build in the next pane just printed, type into a terminal, and open a terminal, a file or a page where you will see it. See The agent and jterm's MCP server below.
-
Gives the agent somewhere to put a long answer. A report, a table, a chart or a diagram the agent makes for you opens as an artifact — a pane of its own, beside your work — instead of scrolling past in a column forty characters wide. See Artifacts below.
-
Reads markdown as a document. A
.mdfile opens rendered — tables, code, images beside it on disk, and mermaid diagrams drawn in the pane's own palette — with Raw one click away and the editor still holding your undo history behind it. SVGs open as pictures with their source a click away. All of it drawn in the pane rather than in an embedded browser, so it works the same on Linux, where nested webviews do not. -
Changes what a pane is. Click a pane's kind icon, in its header or in the tab strip, to replace it with a terminal, a notepad, a browser or a file — or to move another open tab into that slot. Moving a tab in is an even trade: the pane it displaces leaves as a tab of its own, so nothing is destroyed.
-
Works through tmux, if you already do. That is what the default backend above is — a session per terminal, so what survives a crash is the shell rather than a recording of it — and
Mod+Dsplits jterm around it, or splits tmux itself if you set it to. Or attach in control mode, where a tmux window becomes a jterm tab and a tmux pane becomes a real jterm pane: no nested status bar, no tmux drawn inside a box. Either way, from the + menu. -
Changes its colours at whatever depth you meant. The whole app in Settings → Appearance; one tab from Tab theme ▸ — right-click the tab, or click its kind icon; one pane of a split from Pane theme ▸ in its header. Each falls back to the one above until you say otherwise, so two panes side by side can wear different themes and switching tabs can be a change of scenery — the titlebar and the file tree follow the tab you are on. Pointing at an entry applies it: the terminal you are already looking at repaints under the pointer, and leaving the menu puts back what you had. Twenty of them, from Gruvbox and Solarized through a green phosphor CRT and Windows 3.1's Hotdog Stand, plus ten that are alive — a Mandelbrot breathing in and out of itself, a Julia set turning inside out, drifting nebulae, aurora, digital rain, a starfield, a lava lamp, a sunflower head whose spirals wind and unwind forever, Turing's own reaction–diffusion growing the patterns that are on actual animals, and a Lorenz attractor tracing the original picture of chaos — drawn behind the panes with the terminal translucent over them, in the theme's own colours. They hold still under
prefers-reduced-motion. Each living theme's swatch is that drawing, running: a still frame of a fractal tells you nothing about the one thing you are choosing it for. -
And lets you turn all of that down. Three sliders in Settings → Appearance. Motion at zero settles the drawing and then holds it — a still wallpaper in the theme's colours, rather than a choice between weather and giving the theme up. Presence is how much shows through the terminal, and at zero there is no drawing at all. Reacts to the shell speeds the weather up while your own output is flooding and lets it settle when the prompt comes back, so a long build is visible out of the corner of your eye without occupying a pixel of chrome; at zero it runs on a plain clock.
-
Remembers what you typed, across every pane. Mod+Shift+R searches every line you have submitted at a prompt — in any pane, from any day jterm still has a log for — with the directory it was run in and how long ago. The shell's own Ctrl+R is per-shell and dies with it; this one answers "that command, in that repo, some weeks ago, in a tab I have since closed". Choosing one types it at the prompt without running it, which is the same promise the restored draft line makes.
It is every submitted line, not only shell commands: jterm mirrors what you type and cannot tell a shell's prompt from a REPL's or an agent's, so those are in there too. Where your shell reports them, rows also carry the exit status of anything that failed and how long anything slow took — see Shell integration below.
-
Settles in a settings window. Theme, type sizes, cursor, scrollback, shell, and every shortcut — in a second window rather than a modal, so you can watch the terminal change as you drag.
Mod is ⌘ on macOS and Ctrl everywhere else.
| Mod+D | Split right |
| Mod+Shift+D | Split down |
| Mod+Alt+D | Send EOF to the shell |
| Mod+Enter | Zoom the focused pane |
| Mod+Alt+arrows | Move focus between panes |
| Mod+Shift+arrows | Resize the focused pane |
| Mod+T / Mod+1…9 | New tab / go to tab |
| Cmd+W (macOS) / Ctrl+Shift+W | Close pane — the tab, if it was the last |
| Mod+S | Save (in a text pane) |
| Mod+= / Mod+- | Larger / smaller text |
| Mod+0 | Back to the default text size |
| Mod+Shift+R | Search what you have typed |
| Mod+, | Settings |
| F11 | Full screen |
Those are the defaults. All of them can be rebound in Settings → Keyboard by clicking a shortcut and pressing the keys you want; Backspace removes one entirely. Taking a chord that is already spoken for unbinds whichever action had it, rather than leaving two racing for the same key press.
Hold the + in the tab bar for Notepad, Open file…, or Browser. Click a pane's kind icon — the small terminal or page glyph in its header, or on its tab — to change what that pane holds.
Mod+click a URL a program has printed to open it in your real browser — whether it is plain text in the output or a link the program marked up itself. A plain click does nothing to it, deliberately: clicking in a terminal is how you focus a pane and start a selection, and over a log full of URLs that would be a minefield.
Mod+= and Mod+- change the type size of the terminals and the text panes, together, because it is one size — the same one Settings → Terminal → Font size shows, moved from the keyboard rather than kept beside it. Zoom in and the slider has moved; drag the slider and the next Mod+= carries on from where you left it. It follows that Mod+0 goes back to the size jterm ships with rather than to some earlier size of yours, since there is only the one number and it is not remembering a second.
The interface around them — tabs, the file tree, pane titles — has a size of its own and does not move, the same way zooming a page does not zoom the browser. That size is Settings → Appearance → Interface size.
Mod+=, Mod+Shift+= and the + on the numeric keypad are all the same press here, because they are all the same key; you should not have to know which one the table was written down with. Going the other way is plain Mod+- only — Ctrl+Shift+- is Ctrl+_, which is readline's undo, and that still belongs to the shell.
A terminal cannot tell where one command ends and the next begins — from out here, a shell's prompt and a REPL's are the same bytes. OSC 133 is the shell saying so out loud, and where jterm hears it, the history search gains the exit status of failed commands and the duration of slow ones.
jterm only listens. Plenty of setups already emit these markers — starship, bash-preexec, several distributions' stock profiles — and there it works with nothing installed. jterm will not write to your rc files to arrange it. If you want it and your shell is quiet, this is the whole of it for bash:
PS0=$'\e]133;C\a'
PROMPT_COMMAND='__jt=$?; printf "\033]133;D;%s\007" "$__jt"'
PS1=$'\e]133;A\a'"$PS1"$'\e]133;B\a'A shell that says nothing is not treated as a shell whose commands all succeeded: an unreported status stays blank rather than being shown as zero.
Splitting on Mod+D comes from iTerm2, where it is ⌘+D and costs nothing. On Windows and Linux the same shortcut is Ctrl+D — the shell's end-of-file. Binding it takes that away, so Ctrl+Alt+D sends a literal EOF instead. If you would rather have your EOF back, unbind Split right in Settings → Keyboard and Ctrl+D goes back to the shell.
A window, not a modal, because nearly everything in it is a thing you adjust while looking at the result — and six tabs rather than one long page, so the shortcut table is somewhere you arrive at rather than somewhere you scroll past. Between them: the app's theme (including following the system), which is what a tab or a pane falls back to when it has not been given one of its own; the interface's type size and the one the terminals and text panes share, font, line height, cursor shape and blink, scrollback, which shell to start, whether an opened file becomes a tab or a split and which side that split goes, the file tree's width and whether it shows dotfiles, which agent the sidebar runs with what command and arguments, and the shortcut table. Changes are written as you make them and reach the main window immediately — there is no OK button.
Two files, with deliberately different durability:
session.json— tabs, layout, notepad buffers, and the unsubmitted line at each prompt. Small, and written through a temporary file that isfsync'd and then renamed, so a crash mid-write leaves the previous complete snapshot rather than half of the new one. Written on a 200 ms debounce with a 1 s ceiling, so continuous typing cannot defer it indefinitely.scrollback/<pane>.log— raw shell output, appended and flushed periodically. Losing the last half-second of this costs nothing, and paying anfsyncper chunk ofcargo buildoutput would make the terminal slow.screens/<pane>.txt— what the pane was showing, serialised from the terminal emulator at most every three seconds while output arrives, and written the same careful way as the session. The log is a program's drawing instructions — "up three rows, clear this line" — worked out for the width the pane had at the time; played back at any other width, an agent's status line lands in pieces. The screen is the result of those instructions, and re-wraps like ordinary text. A restore draws the screen, unless the log kept going well past it (the renderer died and the backend went on recording), in which case the log is the only record of the end.
settings.json sits beside them and is deliberately not part of either. The
session snapshot is this machine at this moment and is rewritten several times a
second; your preferences are the file you would copy to a new machine, and there
is no reason for the two to be able to fail together.
All three live in the platform's data directory —
~/.local/share/jterm, ~/Library/Application Support/…,
%APPDATA%\….
The prompt line itself is reconstructed from your keystrokes, since the line belongs to the shell's readline and there is nothing to ask for it. Tab completion and history recall rewrite that line where the app cannot see, so both mark the draft untrusted; the restored text is never submitted, so the worst case is text on screen you can edit or clear.
Text panes are different on purpose: the buffer is saved continuously, the file only when you save. A crash therefore leaves your file untouched and your unsaved work recoverable.
On Linux, each shell is started in a systemd scope of its own rather than in jterm's. This is not tidiness — it is the difference between losing a tab and losing the session.
A tab running something that grows without bound has that process killed by the
kernel's OOM killer, which is survivable. What is not is what systemd does next:
every shell being a member of the app's scope means OOMPolicy=stop, the
default, answers one member being killed by stopping the whole unit — jterm and
every other tab's shell along with it. The window vanishes while you are typing
somewhere else, and the only record is a line in journalctl --user about a
process you never had open.
So a pane's shell gets its own transient scope with OOMPolicy=continue, and
the blast radius becomes the one tab that earned it. Where that cannot be
arranged — no systemd, no user session bus, or any other platform — the shell is
started directly and nothing else changes. One consequence is worth knowing: a
background job you have deliberately disowned now outlives the app rather than
being swept up with it, the same way a tmux session already does.
The same principle applies twice more inside the app. A bug that throws while one pane is drawing stops at that pane, which shows the error while its siblings carry on and every shell keeps running — rather than unmounting the whole window and leaving you a blank rectangle with a working terminal underneath it you cannot reach. And the release build unwinds rather than aborting on a panic, so a fault in one pty reader or tmux client is that thread's death rather than the process's.
When something does go wrong, it leaves a note: panic.log, beside the session
files, gets a line naming the thread, the source location and the message. An
app launched from a desktop menu has no stderr anyone will ever read, which is
how "it crashes randomly" turns into a report with nothing attached to it.
On Linux the interface is a WebKitGTK webview, and WebKitGTK draws in a separate process from the one the app runs in. That process can die on its own. When it does, jterm does not: the shells keep running, the pty readers keep recording scrollback, and every background job carries on. What is gone is the surface — and with it the close button, because that button is a DOM element inside the process that just died. The window turns into a blank rectangle that ignores the mouse, which looks exactly like a hang, and the only way out is to kill an app whose tabs were all still working.
So the webview's own web-process-terminated signal is watched, and answered by
reloading the page. Everything the reload needs to come back to is deliberately
not in the renderer: the shells belong to the pty registry, the scrollback to
the store. A pane that finds its shell still running adopts it rather than
starting a new one — it prints ── reconnected ── under the restored
scrollback instead of ── session restored ──, and the shell never notices.
The reload is budgeted at three in a minute. A renderer dying on something in
the page itself will die again the moment the page returns, and answering every
death with a reload would spin on that forever; past the budget jterm stops and
says so in panic.log. That leaves the frozen window it started with — but with
a reason recorded, and with every shell still running underneath it.
Off Linux there is nothing here to do. The macOS and Windows webviews do not hand their rendering to a child process that can fail this way.
A terminal cannot bring a process back after the machine went down — nothing short of checkpointing the process at the OS level can, and that does not survive the network connections an agent lives on. What can come back is the agent's own conversation, because every agent CLI writes one to disk and can be started into it again. The hard part is knowing which one.
claude --continue resumes the most recent conversation in a directory. Four
Claude tabs in one repository are four conversations, and "most recent" is
right for one of them. So every few seconds each pane is asked what is in its
foreground — the terminal's foreground process group, read from /proc — and
when that is an agent, the pane records the agent's own id for the
conversation, where it was running and the flags it was started with. Claude
Code writes sessions/<pid>.json into its config directory while it runs, and
the record is believed only when its pid and process start time match the live
process. Codex holds its transcript open, and the transcript's name ends in the
id. Gemini ties nothing to a process, and resumes its latest conversation in the
directory.
The flags carried are an allowlist per tool, from each one's --help — the
permission mode, model, sandbox and extra directories — because telling a flag
from a prompt by looking is guesswork, and guessing wrong would re-send a prompt
the agent already acted on. Every field of the record ends up on a command line,
so the snapshot decodes it as hostile, and anything that would need quoting is
dropped.
After a crash, a pane with an agent on record shows a card over the terminal with the exact command it would run. Resume runs it — moving the pane onto tmux first, where that is the setting, so the pane just lost is not exposed to the next crash. Nothing is run until it is pressed. Linux only for the exact conversation; elsewhere, and for panes from before this, the card falls back to the last command the pane started.
All of the above reconstructs a shell from what jterm wrote down. tmux does not have to: the shell is in a server process that outlives the app, so what comes back is the thing itself. Where that is available it is simply better, and jterm stands down rather than keeping a second copy.
Settings → tmux → New terminals run on chooses. On A tmux session, each
new terminal is tmux new-session -A -s jterm-<pane>; jterm then keeps no
scrollback log for it and replays no draft, because the shell that has the real
command line never stopped running. The command log in terminals/*.jsonl is
still written — tmux keeps no such record, so it is the one thing not made
redundant. Terminals already open keep whatever they started on.
Closing a pane ends the session jterm made for it, because closing a pane means the shell is finished with. Quitting or crashing does not. That asymmetry is the whole feature: what survives is exactly what you never deliberately closed. A session you attached to yourself is never ended by jterm — the pane detaches and leaves it as it was.
Pane shortcuts can drive tmux. By default a tmux-backed pane splits like
any other: jterm splits around it, and the new pane gets a session of its own.
Set Settings → tmux → Split and focus shortcuts act on → tmux's panes and
splitting, moving the focus and resizing act on tmux's panes instead, so the split lands
in the session that survives and the muscle memory does not have to know which
kind of pane it is aimed at. Moving the focus off the edge of a tmux layout
arrives at the jterm pane next door, so the boundary between the two split trees
is not a trap. Tab shortcuts are never forwarded: a jterm tab is a window of the
app and has no tmux counterpart. Close pane always closes the jterm pane, never the tmux
one — routed to kill-pane it would destroy a one-pane session and leave a dead
shell behind, which is a keystroke that does not close what it is aimed at.
+ → tmux session… lists what is running and offers each of it two ways, including sessions jterm knows nothing about. That is the case jterm's own snapshot structurally cannot cover: ssh somewhere, lose the connection, and the draft it saved belongs to a shell that no longer exists.
The second of those two ways. Everything above puts tmux inside a pane — one
pty per pane, tmux drawing its own status line and its own dividers in a box
jterm knows nothing about. Control mode inverts it: one pty runs tmux -CC,
tmux stops drawing and starts describing itself, and jterm renders the
description with its own panes and its own splits.
A tmux window becomes a jterm tab; a tmux pane becomes a real terminal in a
real jterm split. No nested status bar, because nothing is nested. With the
shortcuts set to act on tmux's panes, Mod+D splits tmux, and the tab strip fills with the session's windows.
Every pane's history is fetched from tmux on arrival, so attaching to a session
left running last week looks like arriving rather than starting.
tmux is the authority throughout. jterm listens for %layout-change and
rebuilds those tabs from what tmux says, so a split made in another terminal
attached to the same session appears here too. Tab and pane ids are derived
from tmux's own, which is what keeps a layout change from remounting the
terminals inside it — the shells never notice.
Control-mode tabs are not in the snapshot. Only the session names are: tmux is still running and still knows which windows it has, so a saved copy of that shape could only be right by luck. On the next launch jterm reattaches and the tabs come back from tmux, correct even if the session changed while jterm was closed.
Detaching, from the same panel, takes the tabs away and leaves the session exactly as it was. Closing a control-mode pane kills tmux's pane, since that is what closing a pane means everywhere else here.
Two things it does not do. jterm's tab shortcuts are never forwarded — a jterm
tab is a window of the app, and Mod+T opening a tmux window would make the tab
strip disagree with itself. And a control-mode tab cannot be folded into another
tab as a split, because its layout is not jterm's to rearrange.
+ → Remote host… does the same for a machine you can ssh to. Pick a host —
the panel offers the ones in ~/.ssh/config, and the ones you reach through an
alias gb10="ssh [email protected]" in your shell's rc file, which ssh itself never
sees — and its tmux sessions are listed by what is running in them. Open one, or
Open all, and its windows become tabs here and its panes become jterm panes,
the same as a local session in control mode. A remote tab's title starts with
the host, so gb10 · claude is not mistaken for the claude beside it.
When the other machine runs jterm on tmux, the panel's first entry is Open gb10's jterm tabs: that machine's window as it is — the same tabs in the same order, the same splits at the same ratios, the same titles. jterm reads the other jterm's saved session over ssh and puts each of its panes on its tmux session, so typing here reaches the same shell as typing there. It follows the other machine every fifteen seconds: a tab opened, split or renamed there shows up here, and one closed there goes. A pane that is not a tmux session over there — a notepad, a browser, a plain shell — has nothing here to draw, and its split closes around it. The mirrored window comes back on the next launch the way control tabs do, read again from the other machine rather than from a copy.
Closing a mirrored tab or pane never ends anything. It stops showing it here, and is not put back by the next refresh until the window is opened from the panel again. The shells belong to the other machine's tabs, and someone may be using them.
Each session can also be opened on its own from the list below that button, one tab per tmux window.
It is control mode over ssh -tt host tmux -CC …, so nothing is needed on this
machine except ssh — not tmux — and nothing on the other except tmux. Such a
session is known as host:name everywhere a local one is known as name, which
is how it is reattached on the next launch like any other. ssh runs with
BatchMode, so it never stops to ask for a password where you cannot see the
prompt: a host that needs one, or that has no tmux, says so in the panel and
offers Open an ssh terminal instead, an ordinary terminal running ssh host.
Closing a remote pane kills it on that machine, as closing any control-mode pane does. To stop looking without ending anything, use the detach button beside the close button — on the tab, or on the pane's header in a split. It closes that session's tabs here and leaves everything running there.
A dropped connection does not close anything. The tabs stay where they were, marked disconnected, with each pane covered and its last screen still visible underneath. jterm reconnects by itself — after 2s, then 5s, 10s, 20s, and every 30s after that, and at once when the network comes back — and the panes repaint from tmux when it does. A pane cannot be typed into while it is covered. Reconnect now tries immediately; Close these tabs gives up. Only a host that answers and no longer has the session counts as the session having ended, and then its tabs go.
Running tmux yourself inside an ordinary pane is noticed too — jterm pauses
its scrollback recording while a tmux client is under the pane's shell, and
resumes when you leave, since otherwise the log fills with a full-screen
program's redraws and a restore paints them back. The pause is written into the
log as a ── tmux ── line so the gap is not mistaken for a bug. It runs on the
same poll as the working-directory check, so up to one screenful of tmux's first
redraw lands above the marker.
None of this exists on Windows, where tmux does not, or on any machine without it installed: the settings section and the menu entry are absent, and a settings file carried from a machine that had it quietly gets an ordinary shell.
+ → Remote desktop (VNC) opens another computer's screen in a pane. Give it
a name or an address; VNC's own conventions work, so studio.local:1 is display
1 (port 5901) and studio.local::5905 is port 5905, and vnc:// links paste
straight in. If the server wants a password the pane asks for it there, and it
is sent and never kept: a restored pane reconnects to the same address and asks
again.
The toolbar fits the screen to the pane or shows it at its own size, switches to view-only (no keys or clicks reach the other machine), and sends Ctrl+Alt+Del, which no operating system lets a window have. Text copied over there lands on this machine's clipboard, and this machine's clipboard goes across when the pane takes focus. jterm's own shortcuts still belong to jterm — Cmd+W closes the pane — and every other key goes to the remote computer.
The protocol is noVNC's, running in the pane; jterm's backend carries the TCP connection. VNC is not encrypted unless the server encrypts it, so outside your own network, reach the machine over ssh or a VPN. To share a Mac, turn on Screen Sharing on it: System Settings → General → Sharing.
+ → Remote Desktop (RDP) does the same for a Windows desktop, or anything else running an RDP server. Sign in with the address, a user name, an optional domain and a password; the password is held in memory while the pane is open, so Reconnect works, and never written down. The protocol runs in jterm's backend on IronRDP, and the pane is a canvas of the rectangles that changed.
RDP servers sign their own certificates, so there is no authority to check one against, and most clients check nothing. jterm checks the fingerprint instead: the first connection to a server stops before the password is sent and shows the certificate's SHA-256 fingerprint, and once you trust it the pane remembers it. If it ever changes, the connection stops there again, says so, and has still sent nothing. Keys go across by physical position, so the remote machine's own keyboard layout decides what they type; Cmd is the Windows key. The desktop is the pane's size when it connects — resizing the pane scales the picture, and a reconnect picks up the new size.
Settings → Sharing says what this computer makes available to other machines: terminal access over ssh (which is how another jterm opens its sessions as panes), its screen over VNC, and Remote Desktop over RDP. For each one that is on it says what it hands over, who may sign in, and the line to connect with; above them, every address this machine has and how far each reaches — this network, a private network such as Tailscale, or the internet, with a warning when anything shared sits on a public address.
jterm runs no server of its own. These are the operating system's, switched in its settings, which an app should not hold the keys to; the buttons open the right page, and the panel checks again when you come back to it. "On" is read from the port itself, so it cannot disagree with what a visitor would find — though it cannot see a firewall between you and them.
jterm runs a Model Context Protocol server
for as long as it is open, and the sidebar's agent is always started connected
to it, under the name jterm. Its tools act on the window the agent is in:
| Tool | Does |
|---|---|
list_panes |
every tab, pop-up and pane, with ids, directories, commands, and which one has focus |
read_terminal |
the last lines a terminal holds, wrapped lines joined back up |
send_to_terminal |
type into a terminal — pasted, or as raw keys for a Ctrl-C — and optionally press Enter |
open_terminal |
a new terminal, with a command left at its prompt or run |
open_file |
a file, in the pane that suits it |
open_url |
an http(s) page in a browser pane |
focus_pane |
bring a pane forward and give it the keyboard |
open_github |
a GitHub pull request or issue in a pane, from a local checkout |
open_diff |
a diff of the working tree, the index or a commit, in a pane |
create_artifact |
show a document it wrote — HTML, markdown, SVG or Mermaid — in a pane of its own |
update_artifact |
rewrite an artifact where it is, without opening another |
read_artifact |
an artifact's title, format and source |
Nothing in that list closes a pane or ends a process.
An artifact is a document the agent made for you to look at: an HTML page, a markdown write-up, an SVG, or a Mermaid diagram. It opens in a pane like anything else — a tab, a split or a pop-up — and the agent can rewrite it in place as the conversation goes, so the pane you are reading redraws rather than a new one appearing beside it. The sidebar's agent is told to reach for one whenever an answer is better seen than read in the column.
Markdown and Mermaid are drawn the way a .md file is, in the pane's own
theme. HTML and SVG run in a sandboxed frame: their scripts work, so a chart
can draw itself and a table can sort, but the page has no way into jterm, your
files or the rest of the window, and a link in it opens in your real browser. A
page that brings no styles of its own gets the theme's colours, so it is not a
white slab in a dark window.
The header has the rest: Source to read what was written, copy, Save to keep a copy as a file, and reload. An artifact is part of the session like a note is — it survives a crash and a restart, moves to another window with its pane, and is gone when you close the pane. One is capped at a megabyte; anything bigger is a file, and the agent is told to open it as one.
The agent runs with its approvals off: Claude Code with
--dangerously-skip-permissions, Codex with
--dangerously-bypass-approvals-and-sandbox, and Gemini CLI with --yolo. It
does not stop to ask before running a command, editing a file or typing into
one of your terminals — which includes Codex running outside its sandbox. Put
your own approval flag in Settings → Agent → Extra arguments (say
--permission-mode default, --full-auto or --approval-mode auto_edit) and
that is used instead.
The server listens on 127.0.0.1 only, on a port the OS picks, behind a bearer
token that is new every launch, and it refuses a request carrying a web page's
Origin. It is added to the agent for that one run — nothing is written into
~/.claude.json, ~/.codex/config.toml or ~/.gemini, where an address that
changes every launch would leave a broken server behind. Claude Code gets it
through --mcp-config, Codex through -c mcp_servers.jterm.… overrides, and
Gemini CLI through GEMINI_CLI_SYSTEM_SETTINGS_PATH, pointed at a copy of the
system settings file with the server merged in. The token itself is never on a
command line: it reaches the agent through its environment, or a file under
jterm's data directory that only you can read.
The agent is found the way your shell would find it — it is started through
your shell, so a claude that only your .bashrc puts on the PATH is still
found. Settings → Agent → Command takes a path or something like npx @google/gemini-cli for anything that is not.
jterm checks for a new release twenty seconds after it starts and every six hours after that. A new version shows as Update to x beside the Settings button; Settings → Updates has the version you are on, the release notes and Check now.
How an update installs depends on how jterm was installed, because it replaces whatever is there:
- AppImage, macOS — downloaded and installed quietly. With Install updates automatically on (the default), that happens without asking.
.deb,.rpm— handed to the package manager, which asks for your password. So it is only ever offered, never started on its own.- Windows — the installer closes jterm while it runs, so it is offered too.
Every download is checked against a signature before anything is written; a package that does not match the key built into the app is refused. And nothing restarts jterm but the Restart to update button, because a restart ends every plain shell — terminals on tmux keep running, and the rest come back with their screens and an offer to resume what they were running.
A development build, a binary run straight out of a tarball, and an extracted AppImage have nothing an update could replace, and say so under Settings → Updates.
The first version with this in it has to be installed by hand; everything after that can arrive through it.
- Browser panes are iframes. A real embedded webview was built first and
removed: Tauri's GTK backend only puts webviews in a
GtkBox, soset_boundsis a no-op on Linux and a child webview cannot be positioned over a pane. Sites that sendX-Frame-Options: DENYwill not load; the pane offers to open them in your real browser instead. Localhost dev servers and most docs sites work. Seesrc/panes/BrowserPane.tsx. - Working directory restore needs OSC 7. bash and zsh on macOS and most
Linux distributions emit it already; PowerShell does not, so a restored
Windows tab opens at home. Linux additionally reads
/proc. - Media playback is the webview's. WebKitGTK will not play H.264 without the system codec, and nothing plays Matroska. Those panes say so and offer your default player.
Needs Node 22 and a Rust toolchain, plus Tauri's system dependencies.
npm install
npm run tauri dev # run it
npm test # frontend tests
npm run tauri build # installers in src-tauri/target/release/bundle
cd src-tauri && cargo testOn Linux, scripts/install-local.sh puts a build you just made on your $PATH
and in the launcher — binary, icons and desktop entry, all under ~/.local, so
it needs no root and there is nothing to undo but three rms. Re-running it
over the version you are currently running is safe: it replaces the file by
unlinking it first, so the running process keeps the inode it started with and
carries on. You get the new build the next time you open a window.
The version lives in three files; a script keeps them in step and CI refuses a tag that disagrees with them.
npm run version 0.3.0
git commit -am "v0.3.0" && git tag -a v0.3.0 -m v0.3.0 && git push --follow-tagsThat builds macOS (Apple silicon and Intel), Windows, and Linux on both x86_64
and arm64, and attaches the installers to the release. Builds are not notarized — the macOS app is
ad-hoc signed (bundle.macOS.signingIdentity: "-"), so on first launch it wants System Settings →
Privacy & Security → Open Anyway, and Windows SmartScreen wants More info → Run anyway.
The ad-hoc signature is not optional. Without it the bundle carries only the linker's signature over the bare binary, with no sealed resources, and macOS calls a quarantined download of that "damaged" and offers only Move to Trash — no Open Anyway, no right-click escape.
Two things that fail quietly if they are wrong, both learned the hard way:
- The tag must be annotated.
--follow-tagspushes annotated tags and only those, so a lightweightgit tag v0.3.0sends the commit, keeps the tag at home, and builds nothing — while the push itself reports success. - Actions needs a write-capable token. Creating the release object is the
one thing the workflow cannot do with a read-only default, and it fails
after all five platforms have built. Settings → Actions → General →
Workflow permissions must be "Read and write";
permissions: contents: writein the workflow is not sufficient on its own. - The updater needs its signing key as a secret.
TAURI_SIGNING_PRIVATE_KEYholds the private half of the key whose public half is intauri.conf.json(plugins.updater.pubkey); with an unencrypted key,TAURI_SIGNING_PRIVATE_KEY_PASSWORDcan stay unset. Without the secret a release still builds, but carries nolatest.json, so installed copies hear of nothing. Keep the private key somewhere other than the repository: losing it means every installed copy refuses every future update, and users have to reinstall by hand once a new key ships.
src/
state/ tree.ts (split geometry), workspace.ts (tabs and panes),
snapshot.ts (persistence format), content.ts (buffers, outside React),
settings.ts (preferences, shared between windows)
panes/ one file per pane kind, plus registry.tsx
components/ shell/ — tab strip, window controls, sidebar tabs, workspace
settings/ — the second window
lib/ draft.ts (the mirrored prompt line), osc.ts, keymap.ts,
tmux.ts (which panes are in tmux, and what the shortcuts
mean when they are), tmuxControl.ts (tmux's layout as
jterm's split tree), …
src-tauri/src/
pty.rs pseudoterminals
tmux.rs sessions jterm starts, and noticing ones the user starts
control.rs the `tmux -CC` protocol, and tmux's layout as a tree
store.rs durable snapshots, scrollback and settings
files.rs reading and saving edited files
git.rs the sidebar's Git tab, through your own git
github.rs pull requests and issues, through your own gh
search.rs the sidebar's Search tab
mcp.rs jterm's MCP server, handing tool calls to the window they are for
agent_cli.rs starting Claude Code, Codex or Gemini CLI connected to it
One file is worth reading before changing any of the layout code:
components/shell/Workspace.tsx. Every
pane in the window is rendered from a single flat list rather than from the
split tree or from its tab, and only its rectangle changes when the layout does.
That is what lets a pane be moved — or handed to another tab — without React
unmounting it and taking the live terminal with it.
Built with Tauri, xterm.js, CodeMirror and three.js.
MIT licensed.