vty-5.0.0: A simple terminal UI library
Graphics.Vty.Inline.Unsafe
Synopsis
globalVty :: IORef (Maybe Vty)Source
globalOutput :: IORef (Maybe Output)Source
withVty :: (Vty -> IO b) -> IO bSource
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.
mkVty
IORef
globalVty
withOutput :: (Output -> IO b) -> IO bSource