Skip to content
Start here · The terminal

docsstart hereterminal

The terminal

Your sessions need somewhere to run that keeps going when you walk away. Since version 0.2.0, HeyJason brings its own.

HeyJason’s terminal

The terminal is part of the heyjason command: nothing else to install. When HeyJason starts a session (New session, a replacement, or bringing one in), it runs in a small host process that keeps going while HeyJason restarts or updates. Your sessions do not stop when you update.

HeyJason reads each session’s state from Claude Code’s own hooks and the screen, every two seconds: working, idle, done, or waiting on you.

The terminal, full screen

Since version 0.4.0, plain heyjason in a terminal opens HeyJason’s terminal straight into a shell. It never opens empty. heyjason tui opens the same thing.

The layout is the one terminals have taught people: on the left your workspaces, one per folder and named after it, and under them every Claude Code session. On top, the tabs of the current workspace and a + for a new one. One pane fills the area; split panes get boxes. What you type goes to the pane in focus.

A new tab asks for a name only and opens a shell. Start Claude Code in it yourself and it shows up as a session. Leaving stops nothing, and after a restart every workspace, tab and pane is back, with the Claude Code sessions resuming their conversations.

The mouse works as you expect: select and copy inside one pane, drag a border to resize, scroll bars, and programs that use the mouse get it. Right-click a pane, a tab or a workspace for its actions. Or press Ctrl+b, then one key:

Ctrl+b, thenDoes
cNew tab.
1 to 9Go to that tab.
n or pNext or previous tab.
vSplit right.
-Split down.
xClose the pane.
zZoom the pane in focus.
NNew workspace.
wPick a workspace.
bFold or open the sidebar.
?Show all the keys.
qLeave. Everything keeps running.

Ctrl+b twice sends Ctrl+b to the pane itself. To use another key, set "tuiPrefix" in ~/.heyjason/heyjason.config.json: "ctrl+\\" makes it Ctrl+\, which suits tmux, whose own key is Ctrl+b.

Which terminal, where

ComputerNew sessions start in
LinuxHeyJason’s terminal.
macOS and Windowsherdr, if it is installed, until HeyJason’s terminal passes its check on that computer. heyjason login runs the check and switches over only if every step works. Without herdr, HeyJason’s terminal.

To choose yourself, set "terminal" in ~/.heyjason/heyjason.config.json to "builtin" (HeyJason’s terminal only), "herdr" (herdr only) or "auto" (the default), then restart HeyJason.

Look and type

terminal
$heyjason terminal ls
The sessions in HeyJason’s terminal.
$heyjason attach <name>
Look at a session and type into it. Ctrl+\ detaches; the session keeps running.
$heyjason terminal stop
End the terminal host. With --force, its sessions end too.

In the app on your computer, Open in terminal on a session opens a window attached to it. That is where you answer sign-ins, Claude’s first-run questions and forms that show a preview side by side: HeyJason never types into a session waiting on one of those. Permission prompts and questions you can also answer from your phone, by picking from the options (forms with several questions or check boxes in the phone app); see Permission prompts.

Working with herdr

HeyJason started out on herdr, and still works with it. If you already run sessions in herdr, there is nothing to do: they stay on the board, readable and controllable, until they end. New sessions start where the table above says.

Moving from herdr

Since version 0.2.3, one command moves sessions that still run in herdr into HeyJason’s terminal. Each keeps its Claude session, history, name and tasks.

terminal
$heyjason terminal move
List what would move, and what has to wait. It changes nothing.
$heyjason terminal move <name>
Move one session.
$heyjason terminal move --all
Move every session that is free.

Since version 0.4.0 you rarely need the command: sessions still running in herdr come over by themselves, into a workspace and tab with the same names. There is no button and no question. Idle ones move first, and busy ones follow when they are free.

Only idle sessions move. One that is working, or waiting on a question, stays in herdr until it is free. In the dashboard, the same is Move to HeyJason terminal on a session, and a button above the list that moves every idle one. Moving is your choice: a session left in herdr simply runs to its end there.

Sessions started elsewhere

HeyJason sees the sessions in its terminal (and herdr’s). A session you started in a plain terminal, the Claude desktop app or an editor is not on the board. To bring one in:

terminal
$heyjason session outside
Recent Claude sessions running outside the terminal.
$heyjason session bring-in <session-id>
Reopen one in the terminal with its history (claude --resume). Close its old window first.

Something unclear or missing? Write to support@heyjason.dev.