Skip to content

@jsvision/ui / Attr

Variable: Attr

const Attr: object

Defined in: core/dist/engine/render/types.d.ts:20

Attribute bit constants. Combine them with bitwise OR, e.g. Attr.bold | Attr.underline. The buffer stores them; the style encoder turns them into SGR at serialize time.

Type Declaration

readonly blink: number

bold

readonly bold: number

dim

readonly dim: number

italic

readonly italic: number

none

readonly none: 0

reverse

readonly reverse: number

strike

readonly strike: number

underline

readonly underline: number