| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
System.Console.ListPrompt
- data Color :: *
- data ListPromptOptions = ListPromptOptions {
- selectedItemSGR :: [SGR]
- normalItemSGR :: [SGR]
- simpleListPrompt :: ListPromptOptions -> Choices -> IO String
- class Default a where
- def :: a
Documentation
data Color :: *
ANSI colors: come in various intensities, which are controlled by ColorIntensity
data ListPromptOptions Source
Constructors
| ListPromptOptions | |
Fields
| |
simpleListPrompt :: ListPromptOptions -> Choices -> IO String Source
class Default a where
A class for types with a default value.