HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulebasement-0.0.16Haskell2010

Basement.Terminal.ANSI

ANSI Terminal escape for cursor and attributes manipulations

On Unix system, it should be supported by most terminal emulators.

On Windows system, all escape sequences are empty for maximum compatibility purpose, and easy implementation. newer version of Windows 10 supports ANSI escape now, but we'll need some kind of detection.

  • 5 types
  • 23 values
  • Packagebasement-0.0.16
  • Exports28
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceANSI.hs

Types

5 declarations
typetype ColorComponent = Zn64 8
#

Simple color component on 8 color terminal (maximum compatibility)

Simple ANSI escape factory functions

23 declarations