Repository navigation
Add a /copy command to copy the latest assistant response to the clipboard #1871
Xander-299
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Motivation
Currently, users need to manually select assistant response text with the mouse and use terminal clipboard shortcuts to copy it.
Tools like OpenAI Codex CLI provide a convenient
/copycommand, allowing users to copy the latest assistant response directly.Adding this feature would improve the user experience, especially when copying code snippets, technical explanations, and long responses.
Proposed Solution
Introduce a built-in
/copyslash command./copy— Copy the latest assistant response to the system clipboard.Implementation Considerations
Scope
The initial implementation should focus on
/copywithout arguments.Additional options, such as
/copy 2(copy the second-to-last assistant response) or/copy all(copy the entire conversation), can be considered in future improvements.Expected Behavior
Acceptance Criteria
/copycopies the latest assistant response.All reactions