$_sudoterm
Reference

Block-based command output

Each command and its output is rendered as a visual "block" — a left-edge accent bar in the terminal gutter plus a hover-only action toolbar.

Why blocks

When you scroll back through 200 lines of tail -f you don't want to find the command boundary by eye. Blocks make it obvious: every command starts a new shaded gutter region, every output flows underneath it.

Actions

Hover over any block to surface the toolbar (top-left of the block):

the system clipboard.

followed by the command and output. One click to start a conversation about what just happened.

Useful for retries after a fix.

The header also shows the command (truncated to 60 chars) and total duration.

How prompt detection works

The parser runs client-side after every PTY chunk. The default prompt regex is:

/^(?:[\w][\w.~/:_-]*[@:~][\w.~/:_-]*\s*)?[$#❯➜>]\s+\S?/u

It matches:

Lines that don't match are appended to the open block as output.

Limitations

PS1s may need a custom regex (planned: user-overridable in settings)

regex for shells that emit it

← Cheat sheetSecurity model →