System.Console.ANSI
- data ANSIColor
- data ANSISGR
- = Reset
- | BoldIntensity
- | FaintIntensity
- | NormalIntensity
- | Italic
- | SingleUnderline
- | DoubleUnderline
- | NoUnderline
- | SlowBlink
- | RapidBlink
- | NoBlink
- | Conceal
- | Reveal
- | SwapForegroundBackground
- | DontSwapForegroundBackground
- | ForegroundNormalIntensity ANSIColor
- | ForegroundHighIntensity ANSIColor
- | BackgroundNormalIntensity ANSIColor
- | BackgroundHighIntensity ANSIColor
- cursorUp :: Int -> IO ()
- cursorDown :: Int -> IO ()
- cursorForward :: Int -> IO ()
- cursorBackward :: Int -> IO ()
- nextLine :: Int -> IO ()
- previousLine :: Int -> IO ()
- setColumn :: Int -> IO ()
- setPosition :: Int -> Int -> IO ()
- clearFromCursorToScreenEnd :: IO ()
- clearFromCursorToScreenBeginning :: IO ()
- clearScreen :: IO ()
- clearFromCursorToLineEnd :: IO ()
- clearFromCursorToLineBeginning :: IO ()
- clearLine :: IO ()
- scrollPageUp :: Int -> IO ()
- scrollPageDown :: Int -> IO ()
- setSGR :: ANSISGR -> IO ()
- hideCursor :: IO ()
- showCursor :: IO ()
Documentation
Constructors
| Reset | |
| BoldIntensity | |
| FaintIntensity | Not widely supported: sometimes treated as conceal |
| NormalIntensity | |
| Italic | Not widely supported: sometimes treated as swapping foreground and background |
| SingleUnderline | |
| DoubleUnderline | Not widely supported |
| NoUnderline | |
| SlowBlink | |
| RapidBlink | |
| NoBlink | |
| Conceal | Not widely supported |
| Reveal | |
| SwapForegroundBackground | |
| DontSwapForegroundBackground | |
| ForegroundNormalIntensity ANSIColor | |
| ForegroundHighIntensity ANSIColor | |
| BackgroundNormalIntensity ANSIColor | |
| BackgroundHighIntensity ANSIColor |
Scroll the displayed information up or down the terminal: not widely supported
hideCursor :: IO ()Source
showCursor :: IO ()Source