mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
feat: Add /copy command to copy last assistant message
This commit is contained in:
parent
7d79dd00af
commit
11db5d95a0
1 changed files with 2 additions and 1 deletions
|
@ -1040,7 +1040,8 @@ class Commands:
|
|||
return text
|
||||
|
||||
def cmd_paste(self, args):
|
||||
"Paste image/text from the clipboard into the chat (optionally provide a name for the image)"
|
||||
"""Paste image/text from the clipboard into the chat.
|
||||
Optionally provide a name for the image."""
|
||||
try:
|
||||
# Check for image first
|
||||
image = ImageGrab.grabclipboard()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue