clipboard

package
v0.0.0-...-3e883f0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2017 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clipboard

type Clipboard interface {
	// Get returns the text stored on the clipboard as well as whether or
	// not it was created from an auto-expanded cursor.
	Get() (text string, autoExpanded bool)

	// Set stores text on the clipboard as well as whether or not that text
	// was created from an auto-expanded cursor.
	Set(text string, autoExpanded bool)
}

type SystemClipboard

type SystemClipboard struct {
	// contains filtered or unexported fields
}

func NewSystemClipboard

func NewSystemClipboard() *SystemClipboard

func (*SystemClipboard) Get

func (c *SystemClipboard) Get() (text string, autoExpanded bool)

func (*SystemClipboard) Set

func (c *SystemClipboard) Set(text string, autoExpanded bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL