-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | A package for prompting values from the command-line.
--
@package questioner
@version 0.1.0.0
module System.Console.Questioner.Util
-- | Performs an IO action with some buffer mode on a handle
hWithBufferMode :: Handle -> BufferMode -> IO a -> IO a
-- | Performs an IO action with NoBuffering on a handle
hWithNoBuffering :: Handle -> IO a -> IO a
-- | Performs an IO action with the console cursor hidden
withNoCursor :: IO a -> IO a
-- | Performs an IO action with console "echoing" supressed
withNoEcho :: IO a -> IO a
-- | Clears the screen from the cursor's current position until n
-- lines above it
clearFromCursorTo :: Int -> IO ()
-- | Shamefully steals ideas from modules like js and `go-spin`.
module System.Console.Questioner.ProgressIndicators
data ProgressIndicator
BarIndicator :: ThreadId -> (MVar Double) -> ProgressIndicator
SpinnerIndicator :: ThreadId -> ProgressIndicator
stopIndicator :: ProgressIndicator -> IO ()
updateIndicator :: ProgressIndicator -> Double -> IO ()
newtype ProgressBarTheme
ProgressBarTheme :: (Double -> IO ()) -> ProgressBarTheme
progressBar :: ProgressBarTheme -> IO ProgressIndicator
type SpinnerTheme = String
spinner :: SpinnerTheme -> Int -> String -> IO ProgressIndicator
simple1SpinnerTheme :: SpinnerTheme
dots7SpinnerTheme :: SpinnerTheme
dots6SpinnerTheme :: SpinnerTheme
dots5SpinnerTheme :: SpinnerTheme
dots4SpinnerTheme :: SpinnerTheme
dots3SpinnerTheme :: SpinnerTheme
dots2SpinnerTheme :: SpinnerTheme
dots1SpinnerTheme :: SpinnerTheme
simple9SpinnerTheme :: SpinnerTheme
simple8SpinnerTheme :: SpinnerTheme
simple7SpinnerTheme :: SpinnerTheme
simple6SpinnerTheme :: SpinnerTheme
simple5SpinnerTheme :: SpinnerTheme
simple4SpinnerTheme :: SpinnerTheme
simple3SpinnerTheme :: SpinnerTheme
simple2SpinnerTheme :: SpinnerTheme
simple1Spinner :: Int -> String -> IO ProgressIndicator
dots7Spinner :: Int -> String -> IO ProgressIndicator
dots6Spinner :: Int -> String -> IO ProgressIndicator
dots5Spinner :: Int -> String -> IO ProgressIndicator
dots4Spinner :: Int -> String -> IO ProgressIndicator
dots3Spinner :: Int -> String -> IO ProgressIndicator
dots2Spinner :: Int -> String -> IO ProgressIndicator
dots1Spinner :: Int -> String -> IO ProgressIndicator
simple9Spinner :: Int -> String -> IO ProgressIndicator
simple8Spinner :: Int -> String -> IO ProgressIndicator
simple7Spinner :: Int -> String -> IO ProgressIndicator
simple6Spinner :: Int -> String -> IO ProgressIndicator
simple5Spinner :: Int -> String -> IO ProgressIndicator
simple4Spinner :: Int -> String -> IO ProgressIndicator
simple3Spinner :: Int -> String -> IO ProgressIndicator
simple2Spinner :: Int -> String -> IO ProgressIndicator
simpleProgressBarTheme :: ProgressBarTheme
simpleProgressBar :: IO ProgressIndicator
module System.Console.Questioner
class Question q a
prompt :: Question q a => q -> IO a
data ChoiceEvent
charToChoiceEvent :: Char -> Maybe ChoiceEvent
listPrompt :: String -> [String] -> IO String
checkboxPrompt :: String -> [String] -> IO [String]
instance [overlap ok] Eq ChoiceEvent
instance [overlap ok] Ord ChoiceEvent
instance [overlap ok] Show ChoiceEvent
instance [overlap ok] Question (String, [String]) [String]
instance [overlap ok] Question (String, [String]) String
instance [overlap ok] Question (String, (String, String)) String
instance [overlap ok] Question String String
instance [overlap ok] Read a => Question String a