clipboard

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package clipboard read/write on clipboard

Index

Constants

This section is empty.

Variables

View Source
var (
	// Primary choose primary mode on unix
	Primary bool
)
View Source
var Unsupported bool

Unsupported might be set true during clipboard init, to help callers decide whether to offer clipboard options.

Functions

func ReadAll

func ReadAll() (string, error)

ReadAll read string from clipboard

func WriteAll

func WriteAll(text string) error

WriteAll write string to clipboard

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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