mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-05 12:14:59 +00:00
feat: rename /clipboard to /paste
This commit is contained in:
parent
e6037140be
commit
dca9b18871
1 changed files with 2 additions and 2 deletions
|
@ -1035,8 +1035,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