mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 19:24:59 +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
|
return text
|
||||||
|
|
||||||
def cmd_clipboard(self, args):
|
def cmd_paste(self, args):
|
||||||
"Add image/text from the clipboard to 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:
|
try:
|
||||||
# Check for image first
|
# Check for image first
|
||||||
image = ImageGrab.grabclipboard()
|
image = ImageGrab.grabclipboard()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue