/osc52

A script to forward information from stdin to system clipboard using the ANSI OSC52 sequence.

Primary LanguageNixMIT LicenseMIT

OSC52

Description

A script to forward information from stdin to system clipboard using the ANSI OSC52 sequence.

Installation

cabal install

It can be also installed by nix.

Example

echo -n 11111 | osc52 will send 11111 to your clipboard.

Credits