Modulehscolour-1.25Haskell98
Language.Haskell.HsColour.ANSI
Partially taken from Hugs AnsiScreen.hs library:
- 3 types
- 23 values
- Packagehscolour-1.25
- Exports26
- LanguageHaskell98
- LicenceLicenseRef-LGPL
- SourceANSI.hs
Make the given string appear with all of the listed highlights
Clear the screen.
Move the screen cursor to the given position.
Types of highlighting supported by ANSI codes (and some extra styles).
Instances4Enum, Eq, Read, Show
Enum HighlightDefined in hscolour-1.25 · Language.Haskell.HsColour.ANSI · orphanEq HighlightDefined in hscolour-1.25 · Language.Haskell.HsColour.ColourHighlightRead HighlightDefined in hscolour-1.25 · Language.Haskell.HsColour.ColourHighlightShow HighlightDefined in hscolour-1.25 · Language.Haskell.HsColour.ColourHighlight
Colours supported by ANSI codes.
Instances4Enum, Eq, Read, Show
Enum ColourDefined in hscolour-1.25 · Language.Haskell.HsColour.ColourHighlightEq ColourDefined in hscolour-1.25 · Language.Haskell.HsColour.ColourHighlightRead ColourDefined in hscolour-1.25 · Language.Haskell.HsColour.ColourHighlightShow ColourDefined in hscolour-1.25 · Language.Haskell.HsColour.ColourHighlight
An infinite supply of colours.
Scrolling
Constructors
Ansi16Colour\033[Xm-style escape sequences (with X =~ [34][0-7])XTerm256CompatibleAnsi16Colour, and also
\033[Y8;5;Zm]-style escape sequences (with Y =~ [3,4] and Z an integer in [0,255] with the XTerm colour cube semantics).
Instances3Eq, Ord, Show
Eq TerminalTypeDefined in hscolour-1.25 · Language.Haskell.HsColour.OutputOrd TerminalTypeDefined in hscolour-1.25 · Language.Haskell.HsColour.OutputShow TerminalTypeDefined in hscolour-1.25 · Language.Haskell.HsColour.Output