RetroTerminal.shortDos constructor

RetroTerminal.shortDos(
  1. int width,
  2. int height, [
  3. HTMLCanvasElement? canvas
])

Creates a new terminal using a short built-in DOS-like font.

Implementation

factory RetroTerminal.shortDos(
  int width,
  int height, [
  web.HTMLCanvasElement? canvas,
]) => RetroTerminal(
  width,
  height,
  "packages/malison/dos-short.png",
  canvas: canvas,
  charWidth: 9,
  charHeight: 13,
);