Package Info

ghc-Clipboard


System clipboard interface


Development/Libraries/Haskell

/Clipboard/ is a library for easily interfacing with the system clipboard with additional unicode support. Currently, only in a Windows or GNU/Linux (X11) system.

For example, if you type:

> $ setClipboardString "Hello, World!"

Then you have '"Hello, World!"' available to be pasted wherever you want.

Now, if you type:

> $ modifyClipboardString reverse

You will have '"!dlroW ,olleH"' in your clipboard. So:

> $ getClipboardString > "!dlroW ,olleH"

The X11 version depends on the 'X11' package, so you will need the X11 development library available on your system at compile time. You can install it by 'sudo apt-get install libxrandr-dev' (or the equivalent on your system).


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/Clipboard

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
2.3.2.0-bp150.2.3 info GA Release 2018-08-01 15
  • AArch64
  • ghc-Clipboard
  • ghc-Clipboard-devel
2.3.2.0-bp150.2.5 info GA Release 2018-07-31 15
  • ppc64le
  • ghc-Clipboard
  • ghc-Clipboard-devel
2.3.2.0-bp150.2.6 info GA Release 2018-07-30 15
  • x86-64
  • ghc-Clipboard
  • ghc-Clipboard-devel