Documentation
¶
Overview ¶
Package clipboard writes to the system clipboard via whatever tool the platform has, with no third-party dependency.
Go port of Ruby's lib/tui/clipboard.rb.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = [][]string{
{"pbcopy"},
{"wl-copy"},
{"xclip", "-selection", "clipboard"},
{"xsel", "--clipboard", "--input"},
}
Commands are tried in order; the first one on PATH wins.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.