Documentation
¶
Overview ¶
Package clipboard provides access to a copy/paste clipboard. If available it uses the system clipboard, but if unavailable it falls back to a simple, memory buffer.
It is a wrapper on top of github.com/atotto/clipboard.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clipboard ¶
type Clipboard interface { // Store stores the text ot the clipboard. Store(rope.Rope) error // Fetch returns the text from the clipboard. Fetch() (rope.Rope, error) }
A Clipboard provides means to store and fetch text. Implementations should support concurrent access.
Click to show internal directories.
Click to hide internal directories.