Skip to content

Commit

Permalink
Merge branch 'master' of github.com:asweigart/pyperclip
Browse files Browse the repository at this point in the history
  • Loading branch information
asweigart committed Jun 18, 2024
2 parents 6939186 + 287198a commit e16fa9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyperclip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e16fa9c

Please sign in to comment.