opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat: add copy slash command to copy last message

Open zach-fuller opened this issue 4 months ago • 1 comments

Summary

This PR introduces a /copy command for copying messages via the existing MessagesCopyCommand.

Doing so follows the established pattern used by ⁠undo and ⁠redo. Exposing the command in the UI improves discoverability for users who may not be familiar with the keyboard shortcut.

Changes

  • Adds trigger to the existing MessagesCopyCommand
  • Updates docs accordingly

Closes #2118

zach-fuller avatar Aug 22 '25 02:08 zach-fuller