Features / tmux and herdr

One pane at a time. Swipe to the next.

A tmux window built for a 27-inch screen doesn’t fit on a phone. Moshpit doesn’t squeeze tmux’s text screen down; it draws each pane as a view of its own.

The windows list over the terminal: each window with its panes, what runs there and its state

Why it’s there

One pane at a time, full width

On a phone you read one pane properly instead of four badly. Swipe sideways in the terminal to go to the next one.

A list a tap away

Tap the session, the window or the pane in the breadcrumb for a list of all of them: what runs in each, and which agent is still working or waiting for you.

Native lists

Each list ends in New; a long press renames or closes. With a keyboard, ⌘K shows every pane of the window as a live picture.

How it works

  1. Moshpit attaches to tmux in control mode (tmux -CC), the way iTerm2 does, and to herdr through its own protocol.
  2. It attaches to your most recent session and never creates one on its own; if there is none, it offers New Session.
  3. With tmux 3.8 or later, switching windows on the phone leaves the client on your desk where it was.
  4. On iPad with a keyboard: ⌘K shows all panes, ⌘1–⌘9 picks a window, ⌘W goes back to Home.

Good to know

  • Several clients on one tmux window share one size. Moshpit takes the window while the phone is on it and hands it back when you leave.
  • If the tmux server is killed, the terminal offers New Session instead of a dead screen.

Panes in the docs →

More features