Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getDimensions :: Int -> Maybe (Window Int) -> ListPromptDimensions
- getDimensionsIO :: Int -> IO ListPromptDimensions
- withNoCursor :: IO a -> IO a
- withNoEcho :: IO a -> IO a
- withNoBuffering :: Handle -> BufferMode -> IO a -> IO a
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 a -> IO a Source #
withNoEcho :: IO a -> IO a Source #
withNoBuffering :: Handle -> BufferMode -> IO a -> IO a Source #