Skip to content
Terminal > Blocks

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:

ItemShortcutWhat it does
Copyctrl+CCopy command + output
Copy commandctrl+shift+CCopy just the command line
Copy outputctrl+alt+shift+CCopy just the output
Copy working directoryCopy the directory the block ran in
Save as workflowSave the command to Mel Drive
Attach as agent contextSend command + output into the prompt
Toggle block filterOpen/close the filter bar
Toggle bookmarkctrl+BBookmark this block (shows ✓ when set)
Split pane rightctrl+DSplit the pane, new session on the right
Split pane downctrl+shift+DSplit 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.