Do you still `pbcopy` and `pbpaste`?
Nothing’s wrong with that, but the advantage you get with the clipboard gem is that it works on many more platforms than just macOS (including Windows).
The latest addition is support for copying to the clipboard via the OSC52 ANSIC Escape Sequence which also works when issued from remote sessions (if your terminal supports it).
Post a comment