Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getDimensions :: Int -> Maybe (Window Int) -> ListPromptDimensions
- getDimensionsIO :: Int -> IO ListPromptDimensions
- withNoCursor :: IO c -> IO c
- withNoEcho :: IO c -> IO c
- withNoBuffering :: Handle -> BufferMode -> IO b -> IO b
Documentation
getDimensions :: Int -> Maybe (Window Int) -> ListPromptDimensions Source
Calculates the optimal position for the prompt optionally with the terminal's size and -- the number of available choices
withNoCursor :: IO c -> IO c Source
withNoEcho :: IO c -> IO c Source
withNoBuffering :: Handle -> BufferMode -> IO b -> IO b Source