clipboard

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package clipboard provides cross-platform text clipboard operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(text string) error

Copy places text on the system clipboard. On macOS it uses pbcopy; on Linux it tries xclip then xsel.

func ResumeCommand

func ResumeCommand(sessionID, workingDir string) string

ResumeCommand returns the full CLI command to resume a session. If workingDir is provided, the command includes a cd prefix so the resume works regardless of the caller's current directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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