Anatomy of a block
Each block contains four parts:| Part | What it shows |
|---|---|
| Prompt | The shell prompt at the moment the command was run (user, host, working directory, git branch) |
| Input | The command you typed |
| Output | Everything the command printed to stdout or stderr |
| Exit metadata | Exit code, timing, and any inline AI annotations |
BlockPadding model — separate values for the top of the block, between the prompt and command, between the command and output, and below the output. The spacing mode (normal or compact) scales all of these at once.
Selecting and copying a block
Click anywhere inside a block to focus it. Once a block is focused, a block toolbar appears at the top right. From the toolbar you can:- Copy output — copies the output text to your clipboard.
- Copy command — copies just the input command.
- Copy block — copies both command and output together.
- Select text — click and drag within the output area to select a range of text, then copy it with
Cmd+C/Ctrl+C.
The block toolbar
When you hover over a block or click into it, the toolbar appears at the upper-right corner of that block. The toolbar provides quick access to the most common block actions without using a menu.Copy actions
Copy actions
The toolbar exposes separate buttons to copy the command, copy the output, or copy both at once. This is useful when the output is long and you only need the command for your clipboard.
Share block
Share block
Bookmark as workflow
Bookmark as workflow
Click Save as Workflow to promote the command in this block into a reusable workflow stored in Warp Drive. The workflow editor opens pre-populated with the command text. You can then give it a name, add a description, and define parameterized arguments before saving.
Find in output
Find in output
Click the Find button (or press
Cmd+F / Ctrl+F while a block is focused) to open an inline search bar that highlights matches in the block’s output.Sharing blocks as permalinks
Warp can render any block as a hosted, publicly accessible permalink. This is useful for sharing terminal output with teammates who may not have Warp installed.Open the share modal
Click the Share button in the block toolbar, or right-click the block and choose Share block.
Set a title (optional)
Type a title for the shared block. If you leave it blank, Warp uses the command as the title. Warp can also generate a title automatically using AI if the Generate block title feature is enabled.
Configure visibility
Choose whether the output should be visible in the shared view. Sensitive output can be hidden while still sharing the command itself.
Bookmarking a block as a workflow
Any block’s command can be promoted to a workflow — a reusable, named snippet stored in Warp Drive. To bookmark a block:- Hover over the block to reveal the toolbar.
- Click Save as Workflow (the bookmark icon).
- Give the workflow a name, an optional description, and tags.
- Optionally add arguments to parameterize the command (for example, replacing a hard-coded branch name with a
{{branch}}placeholder). - Click Save to store the workflow locally or sync it to Warp Drive.
Block spacing settings
You can control how much vertical space separates blocks using theappearance.spacing setting:
Scrollback and grid size
Warp keeps up to 50,000 rows in memory per session by default (configurable viaterminal.maximum_grid_size). Once a session reaches the limit, older rows are discarded. Blocks near the top of a long session may lose their output if you exceed this limit.
Full-screen terminal applications (vim, less, htop, etc.) run in an alt screen that sits on top of the block list. When you exit the full-screen app, the block list reappears with the blocks from before the app was launched intact.