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

Moduleterminfo-0.4.1.7Haskell2010

System.Console.Terminfo.Effects

  • 1 type
  • 19 values
  • Packageterminfo-0.4.1.7
  • Exports20
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceEffects.hs

Bell alerts

2 declarations

Text attributes

5 declarations
valuewithAttributes :: TermStr s => Capability (Attributes -> s -> s)
#

Sets the attributes on or off before outputting the given text, and then turns them all off. This capability will always succeed; properties which cannot be set in the current terminal will be ignored.

valuesetAttributes :: TermStr s => Capability (Attributes -> s)
#

Sets the attributes on or off. This capability will always succeed; properties which cannot be set in the current terminal will be ignored.

Turns off all text attributes. This capability will always succeed, but it has no effect in terminals which do not support text attributes.

Mode wrappers

valuewithBold :: TermStr s => Capability (s -> s)
#

Turns on bold mode before outputting the given text, and then turns all attributes off.

Low-level capabilities