clipboard

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear() error

Types

type Clipboard

type Clipboard struct {
	Prompt     chan string
	LastText   string
	Mu         sync.RWMutex
	OutputText string
}

func NewClipboard

func NewClipboard() *Clipboard

func (*Clipboard) GetClipboardText

func (c *Clipboard) GetClipboardText() (string, error)

func (*Clipboard) SetClipboardText

func (c *Clipboard) SetClipboardText(text string) error

func (*Clipboard) StartMonitoring

func (c *Clipboard) StartMonitoring()

Jump to

Keyboard shortcuts

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