vty-5.2.1: A simple terminal UI library

Safe HaskellNone




reserveTerminal :: (Applicative m, MonadIO m) => String -> Fd -> 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.