Hclip-1.0.0.1: A small cross-platform library for reading and modifying the system clipboard.

PortabilityA small cross-platform library for reading and modifying the
Stabilityexperimental
MaintainerJens Thomas <jetho@gmx.de>
Safe HaskellSafe-Inferred

System.Hclip

Description

system clipboard.

Synopsis

Documentation

getClipboard :: IO (Either ClipboardError String)Source

Read clipboard contents.

setClipboard :: String -> IO (Either ClipboardError String)Source

Set clipboard contents.

modifyClipboard :: (String -> String) -> IO (Either ClipboardError String)Source

Apply function to clipboard and return its new contents.