Idris2Doc : NCurses.Core.Attribute

NCurses.Core.Attribute

(source)

Definitions

dataAttribute : Type
  Attributes that can be given to text within an ncurses window.

Totality: total
Visibility: public export
Constructors:
Normal : Attribute
Underline : Attribute
Standout : Attribute
Reverse : Attribute
Dim : Attribute
Bold : Attribute
Protected : Attribute
Invisible : Attribute
CP : ColorPair->Attribute

Hints:
EqAttribute
ShowAttribute
nSetAttr : HasIOio=>Attribute->io ()
  Set an attribute to be applied in the standard window
until it is cleared or overwritten.

In ncurses terminology, "attrset"

See @nSetAttr'@ for a version that works on
any given window.

Totality: total
Visibility: export
nSetAttr' : HasIOio=>Window->Attribute->io ()
  Set an attribute to be applied in the given window
until it is cleared or overwritten.

In ncurses terminology, "wattrset"

Totality: total
Visibility: export
nEnableAttr : HasIOio=>Attribute->io ()
  Set the given attribute in the standard window
until it is set again. This has no impact
on any other attributes that are set.

In ncurses terminology, "attron"

See @nEnableAttr'@ for a version that works on
any given window.

Totality: total
Visibility: export
nEnableAttr' : HasIOio=>Window->Attribute->io ()
  Set the given attribute in the given window
until it is set again. This has no impact
on any other attributes that are set.

In ncurses terminology, "wattron"

Totality: total
Visibility: export
nDisableAttr : HasIOio=>Attribute->io ()
  Unset the given attribute in the standard window
until it is set again. This has no impact
on any other attributes that are set.

In ncurses terminology, "attroff"

See @nDisableAttr'@ for a version that works on
any given window.

Totality: total
Visibility: export
nDisableAttr' : HasIOio=>Window->Attribute->io ()
  Unset the given attribute in the given window
until it is set again. This has no impact
on any other attributes that are set.

In ncurses terminology, "wattroff"

Totality: total
Visibility: export
nChangeAttrAt : HasIOio=>Nat->Nat->MaybeNat->Attribute->ColorPair->io ()
  Change the attributes at the given position in the standard window.
A len of Nothing means "the whole line."
A color pair of @defaultColorPair@ offers a sane default.

See @nChangeAttr'@ to change attributes in another window.

Totality: total
Visibility: export
nChangeAttr' : HasIOio=>Window->MaybeNat->Attribute->ColorPair->io ()
  Change the attributes in the given window for the next @len@ characters.
A len of Nothing means "the whole line."
A color pair of @defaultColorPair@ offers a sane default.

Totality: total
Visibility: export
nChangeAttrAt' : HasIOio=>Window->Nat->Nat->MaybeNat->Attribute->ColorPair->io ()
  Change the attributes at the given position in the given window.
A len of Nothing means "the whole line."
A color pair of @defaultColorPair@ offers a sane default.

Totality: total
Visibility: export
setBackground : HasIOio=>ColorPair->io ()
  Set the background color of the standard window.

Totality: total
Visibility: export
setBackground' : HasIOio=>Window->ColorPair->io ()
  Set the background color of the given window.

Totality: total
Visibility: export