Skip to content

Terminal Console Demo

A simple WebAssembly C "terminal" is demoed with input and output directed to an HTML <canvas> tag.

What it Does

  • uses class twrConsoleTerminal, a Console
  • moves a string up or down in the terminal window when you press the u or d or arrow keys.
  • shows basic color usage
  • draws a graphic box around the terminal window.

Run and View the Code

Screen Grab of Terminal