This commit is contained in:
Paul Gauthier 2024-12-09 20:06:36 -08:00
parent 4a37d07acb
commit 92d29805f1
5 changed files with 6 additions and 3 deletions

View file

@ -28,6 +28,9 @@ class ClipboardWatcher:
self.last_clipboard = current
self.io.interrupt_input()
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: