iterm-show-0.1.0.1: Enable graphical display of images inline on some terminals

Safe HaskellSafe
LanguageHaskell2010

ITermShow

Synopsis

Documentation

displayImageBuilder :: ByteString -> Builder Source #

Wrap and transform a bytestring representing the encoding of a file that iTerm understands how to display such that iTerm will display it when the resulting bytestring is printed to the terminal.

displayImage :: ByteString -> ByteString Source #

Convinience wrapper around displayImageBuilder

displayImageString :: ByteString -> String Source #

Convinience wrapper around displayImageBuilder. Useful for Show instances.