clipboard

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package clipboard provides cross-platform clipboard access via OS commands. Falls back to no-op on unsupported platforms (the editor has its own internal clipboard as fallback).

Index

Constants

This section is empty.

Variables

View Source
var Unsupported bool

Unsupported reports whether clipboard operations are unavailable on this platform.

Functions

func ReadAll

func ReadAll() (string, error)

ReadAll reads text from the system clipboard.

func WriteAll

func WriteAll(text string) error

WriteAll writes text to the system clipboard.

Types

This section is empty.

Jump to

Keyboard shortcuts

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