skeletest-0.4.0: Batteries-included, opinionated test framework
Safe HaskellNone
LanguageGHC2021

Skeletest.Internal.Utils.Term

Synopsis

Documentation

init :: IO () Source #

Global attributes

Output helpers

output :: Text -> IO () Source #

clearInPlace :: IO () Source #

Clear last in-place output. See outputInPlace.

outputInPlace :: Text -> IO () Source #

Same as outputN, except if called multiple times in a row, will update the message in-place.

Should only be used when stdout supports ANSI, but this isn't checked.

Long-term, should probably be replaced with concurrent-output, but it's currently hardcoded to IO.stdout.