mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
Merge pull request #1595 from jbellis/paste
feat: rename /clipboard to /paste
This commit is contained in:
commit
c2c4dbd2a8
1 changed files with 2 additions and 2 deletions
|
@ -1039,8 +1039,8 @@ class Commands:
|
|||
|
||||
return text
|
||||
|
||||
def cmd_clipboard(self, args):
|
||||
"Add image/text from the clipboard to the chat (optionally provide a name for the image)"
|
||||
def cmd_paste(self, args):
|
||||
"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