Commit Graph

5 Commits

Author SHA1 Message Date
John Helmert
7423a43e50 Make the clipboard command user-configurable
Add config item clipboard_cmd, with a default of 'pbcopy w' on Darwin
and 'xclip' on everything else. This will allow the user to use any
command for the clipboard, including 'wl-copy' for Wayland (addressing
issue #693 on Github). With his change, significant simplifications
could be made to clipboard.py - the copy_*() functions have been removed
and combined into copy().

With this simplification, the old OSX test is obsolete, and new OSX
tests are needed (need a way to simulate sys.platform).
2019-06-08 15:18:15 -05:00
Michael Lazar
1c66c5662f Fixed tests 2017-05-10 21:40:40 -07:00
Michael Lazar
29584acd3a Code review refactoring 2017-05-09 18:20:52 -04:00
Josue Ortega
95581257ae Removed unused sys import 2017-05-05 11:34:24 -06:00
Josue Ortega
512b3cebe9 Adds own implementation of copy 2017-05-03 19:47:24 -06:00