osc52

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 7 Imported by: 0

README

osc52

A command line tool to copy text to the system clipboard from anywhere using the ANSI OSC52 sequence.

When this sequence is printed, the terminal will copy the given text into the system clipboard. This is totally location independent, users can copy from anywhere including from remote SSH sessions.

OSC52 is widely supported, see partial list of supported terminals

Installation

go install -v github.com/theimpostor/osc52@latest

Usage

Usage: ./osc52 [file1 [...fileN]]
Copies file contents to system clipboard using the OSC52 escape sequence.
With no arguments, will read from stdin.

Credits

Credit and thanks to the the vim-ocsyank plugin

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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