vty-5.0.0: A simple terminal UI library

Safe HaskellNone

Graphics.Vty.Output.TerminfoBased

Synopsis

Documentation

reserveTerminal :: (Applicative m, MonadIO m) => String -> Handle -> m OutputSource

Uses terminfo for all control codes. While this should provide the most compatible terminal - terminfo does not support some features that would increase efficiency and improve compatibility: - - * determine the character encoding supported by the terminal. Should this be taken from the LANG - environment variable? - - * Provide independent string capabilities for all display attributes. - - todo: Some display attributes like underline and bold have independent string capabilities that - should be used instead of the generic sgr string capability.