diff --git a/src/pyperclip/__init__.py b/src/pyperclip/__init__.py index bf3a0ba..cde306b 100644 --- a/src/pyperclip/__init__.py +++ b/src/pyperclip/__init__.py @@ -225,7 +225,7 @@ def copy_wl(text, primary=False): p.communicate(input=text.encode(ENCODING)) def paste_wl(primary=False): - args = ["wl-paste", "-n"] + args = ["wl-paste", "-n", "-t", "text"] if primary: args.append(PRIMARY_SELECTION) p = subprocess.Popen(args, stdout=subprocess.PIPE, close_fds=True)