clipboard

package
v0.0.0-...-b767601 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT, Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadCmd

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

func (ReadCmd) ImplementsCommand()

type WriteCmd

type WriteCmd struct {
	Type string
	Data io.ReadCloser
}

WriteCmd copies Text to the clipboard.

func (WriteCmd) ImplementsCommand

func (WriteCmd) ImplementsCommand()

Jump to

Keyboard shortcuts

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