Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions aider/copypaste.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import threading
import time

import pyperclip


Expand Down Expand Up @@ -30,12 +29,10 @@ def watch_clipboard():
self.io.placeholder = current
if len(current.splitlines()) > 1:
self.io.placeholder = "\n" + self.io.placeholder + "\n"

time.sleep(0.5)
except Exception as e:
if self.verbose:
from aider.dump import dump

dump(f"Clipboard watcher error: {e}")
continue

Expand Down