opencode
opencode copied to clipboard
feat: add ability to copy input to clipboard
Summary
This PR introduces a keyboard shortcut for copying the current input. This feature allows users to easily copy composed messages (including text and attachment references).
Changes
Core Implementation:
- Adds
InputCopyCommandwithctrl+shift+cdefault keybind - Implements
Copy()method in editor component with toast feedback - Adds command execution handler
Documentation:
- Updates keybind documentation to include new
input_copyshortcut