Skip to content

Split Panes

MoltShell lets you divide your terminal into multiple panes, each running an independent session. This is useful for running a server in one pane while editing code in another, or watching logs alongside your main workflow.

Creating splits

Each pane has a header bar with split controls:

  • Vertical split (columns icon) -- divides the pane into left and right halves
  • Horizontal split (rows icon) -- divides the pane into top and bottom halves

You can split any pane further, creating complex layouts with many terminals visible at once.

Resizing panes

Drag the divider between any two panes to resize them. The divider can be dragged between 15% and 85% of the available space to prevent panes from becoming too small.

On touch devices, the dividers respond to touch drags the same way they respond to mouse drags.

Closing panes

Click the X button in a pane's header to close it. Closing a pane kills its underlying tmux session permanently. You cannot close the last remaining pane.

Independent sessions

Each pane runs its own tmux session on the server. They are completely independent:

  • Different working directories
  • Separate command histories
  • Independent scrollback buffers
  • Each can run a different program

The first pane always uses a session called sandbox-default. Additional panes created by splitting get unique session IDs.

Focus indicator

The active pane is highlighted with a green accent border on its header. Click anywhere in a pane to make it the focused pane. Keyboard input goes to the focused pane.

Layout persistence

Your split layout is automatically saved to the VM's filesystem. When you close the browser and come back later, or switch to a different device, the layout is restored. Dead sessions (from panes that were closed) are automatically pruned during restore, and the first pane is always mapped back to the default session.

MoltShell - Your Linux VM in the browser.