questioner-0.1.1.0: A package for prompting values from the command-line.

Safe HaskellSafe-Inferred
LanguageHaskell2010

System.Console.Questioner.Util

Synopsis

Documentation

hWithBufferMode :: Handle -> BufferMode -> IO a -> IO a Source

Performs an IO action with some buffer mode on a handle

hWithNoBuffering :: Handle -> IO a -> IO a Source

Performs an IO action with NoBuffering on a handle

withNoCursor :: IO a -> IO a Source

Performs an IO action with the console cursor hidden

withNoEcho :: IO a -> IO a Source

Performs an IO action with console "echoing" supressed

clearFromCursorTo :: Int -> IO () Source

Clears the screen from the cursor's current position until n lines above it