Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Const ansiStyles

ansiStyles: "/Users/phil/github/mine/puzzlescript/node_modules/@types/ansi-styles/index" = (ansiStylesHack as any).default

Const supports16mColors

supports16mColors: boolean = process.env.COLORTERM === 'truecolor'

Functions

clearLineAndWriteTextAt

  • clearLineAndWriteTextAt(x: number, y: number, msg: string): void
  • Parameters

    • x: number
    • y: number
    • msg: string

    Returns void

clearScreen

  • clearScreen(): void

drawPixelChar

  • drawPixelChar(x: number, y: number, fgHex: Optional<string>, bgHex: Optional<string>, char: string): string

getRestoreCursor

  • getRestoreCursor(): string

getTerminalSize

  • getTerminalSize(): object

setBgColor

  • setBgColor(hex: string): string

setFgColor

  • setFgColor(hex: string): string

setMoveTo

  • setMoveTo(x: number, y: number): string

setShowCursor

  • setShowCursor(): string

writeBgColor

  • writeBgColor(hex: string): void

writeFgColor

  • writeFgColor(hex: string): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc