clipboard

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT, Unlicense Imports: 2 Imported by: 47

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadCmd added in v0.5.0

type ReadCmd struct {
	Tag event.Tag
}

ReadCmd requests the text of the clipboard, delivered to the handler through an io/transfer.DataEvent.

func (ReadCmd) ImplementsCommand added in v0.5.0

func (ReadCmd) ImplementsCommand()

type WriteCmd added in v0.5.0

type WriteCmd struct {
	Type string
	Data io.ReadCloser
}

WriteCmd copies Text to the clipboard.

func (WriteCmd) ImplementsCommand added in v0.5.0

func (WriteCmd) ImplementsCommand()

Jump to

Keyboard shortcuts

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