Block actions
Copy, bookmark, attach as context — the block menu and its shortcuts.
Every block carries a set of actions — copy it, feed it to the agent, save it as a workflow, filter it, bookmark it. You reach them three ways: the header icons on a selected block, the right-click context menu, and keyboard shortcuts.
Header icons
Select a block and four icons appear in its header, left to right:
- 📎 Attach as agent context — puts the command plus output into the prompt as context for an agent conversation.
- 💾 Save as workflow — saves the command as a reusable workflow in Mel Drive.
- 🔽 Filter block output — opens the filter bar for this block.
- ⋮ — opens the action menu (the same menu as right-click).
The action menu
Right-click a block (or click ⋮) to open it:
| Item | Shortcut | What it does |
|---|---|---|
| Copy | ctrl+C | Copy command + output |
| Copy command | ctrl+shift+C | Copy just the command line |
| Copy output | ctrl+alt+shift+C | Copy just the output |
| Copy working directory | — | Copy the directory the block ran in |
| Save as workflow | — | Save the command to Mel Drive |
| Attach as agent context | — | Send command + output into the prompt |
| Toggle block filter | — | Open/close the filter bar |
| Toggle bookmark | ctrl+B | Bookmark this block (shows ✓ when set) |
| Split pane right | ctrl+D | Split the pane, new session on the right |
| Split pane down | ctrl+shift+D | Split the pane, new session below |
Everything in the menu is wired — there are no placeholder rows. Copy actions use plain text (ANSI codes stripped), so pasted output is clean.
Keyboard shortcuts
The copy and bookmark shortcuts act on the selected block, and only when the prompt input does not have focus — so ctrl+C at the prompt still behaves like a shell, while ctrl+C with a block selected copies it.
There's also a prompt-side shortcut worth knowing: ctrl+up-arrow attaches the last finished block's command and output into the prompt as agent context, no selection needed. See Input and the prompt.