Skip to content

Commit

Permalink
Fix clip.files() for a custom clipboard-get-command (redux)
Browse files Browse the repository at this point in the history
  • Loading branch information
exquo committed Dec 26, 2021
1 parent 002e18d commit d9b38cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scli
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ class clip:
cmd = cfg.clipboard_get_command
if cmd is None:
return clip.xfiles()
return callf(cmd).stdout.split('\n')
return callf(cmd, capture_output=True).stdout.split('\n')


# #############################################################################
Expand Down

0 comments on commit d9b38cf

Please sign in to comment.