Hclip-1.0.0.0: 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 the new contents