RetroTerminal.dos constructor

RetroTerminal.dos(
  1. int width,
  2. int height, [
  3. CanvasElement? canvas
])

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

Implementation

factory RetroTerminal.dos(int width, int height,
        [html.CanvasElement? canvas]) =>
    RetroTerminal(width, height, "packages/malison/dos.png",
        canvas: canvas, charWidth: 9, charHeight: 16);