Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "blessed.d"

Index

Type aliases

ColorRgb

ColorRgb: [number, number, number]

ProgramResponseCallback

ProgramResponseCallback: function

Type declaration

Variables

Const colors

colors: object

Type declaration

  • colorNames: object
    • black: 0
    • blue: 4
    • brightblack: 8
    • brightblue: 12
    • brightcyan: 14
    • brightgray: 7
    • brightgreen: 10
    • brightgrey: 7
    • brightmagenta: 13
    • brightred: 9
    • brightwhite: 15
    • brightyellow: 11
    • cyan: 6
    • gray: 8
    • green: 2
    • grey: 8
    • lightblack: 8
    • lightblue: 12
    • lightcyan: 14
    • lightgray: 7
    • lightgreen: 10
    • lightgrey: 7
    • lightmagenta: 13
    • lightred: 9
    • lightwhite: 15
    • lightyellow: 11
    • magenta: 5
    • red: 1
    • white: 7
    • yellow: 3
  • RGBToHex: function
    • RGBToHex(r: number, g: number, b: number): string
    • RGBToHex(hex: string): ColorRgb
  • blend: function
    • blend(attr: number, attr2?: number, alpha?: number): number
    • Parameters

      • attr: number
      • Optional attr2: number
      • Optional alpha: number

      Returns number

  • ccolors: function
    • ccolors(): number[]
    • Map higher colors to the first 8 colors. This allows translation of high colors to low colors on 8-color terminals.

      Returns number[]

  • colors: function
    • colors(): number[]
    • Seed all 256 colors. Assume xterm defaults. Ported from the xterm color generation script.

      Returns number[]

  • convert: function
    • convert(color: Color): number
  • match: function
    • Match given color in a high level form (like rgb or hex expression) with a terminal color number interpolatingg to a similar color.

      Parameters

      Returns number

  • mixColors: function
    • mixColors(c1: number, c2: number, alpha: number): number
    • Parameters

      • c1: number
      • c2: number
      • alpha: number

      Returns number

Const helpers

helpers: Helpers

Const unicode

unicode: Unicode

Functions

bigtext

box

button

checkbox

escape

  • escape(item: any): any

filemanager

form

input

layout

line

list

listbar

listtable

loading

log

message

program

progressbar

prompt

question

radiobutton

radioset

screen

scrollablebox

scrollabletext

table

terminal

text

textarea

textbox

Generated using TypeDoc