Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WebGLTerminalCanvasParams

Construction parameters for TextTerminalCanvas

Hierarchy

  • WebGLTerminalCanvasParams

Index

Properties

Optional background

background: string

Default: "#111". A style string for the initial cleared-to color of the terminal canvas. This is expected to be an opaque color.

Optional bufferSize

bufferSize: [number, number]

Default: [80, 25]. This is the [width, height], in character cells, of the entire terminal canvas.

canvas

canvas: HTMLCanvasElement | string

Required. Either an HTML Canvas, or an id corresponding to one.

Optional font

font: BitmapFont

Default: A built-in 8x8 PC BIOS font

Optional zoom

zoom: number

Default: 1. This is a multiplier on the auto-set canvas width/height.

Generated using TypeDoc