Skip to content

@jsvision/core / Attr

Variable: Attr

const Attr: object

Defined in: render/types.ts:40

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 = 0

reverse

readonly reverse: number

strike

readonly strike: number

underline

readonly underline: number