vty-5.0.0: A simple terminal UI library

Safe HaskellNone
LanguageHaskell2010

Graphics.Vty.Inline.Unsafe

Synopsis

Documentation

withVty :: (Vty -> IO b) -> IO b Source

This will create a Vty instance using mkVty and execute an IO action provided that instance. The created Vty instance will be stored to the unsafe IORef globalVty.

withOutput :: (Output -> IO b) -> IO b Source