Skip to content

Multi-io Multiple Console Example

What It Does

This example demos six simultaneous consoles:

  • Two character streaming consoles directed to a <div> tag
  • Two character terminal consoles directed to a <canvas> tag
  • Two 2D draw surface consoles directed to a <canvas> tag

The multi-io example also demos:

  • Creating consoles in JavaScript/TypeScript
  • Using consoles in C/C++ and JavaScript/TypeScript
  • Mixing multiple Consoles
  • Using multiple .wasm modules using the same console
  • Inputting, printing, and drawing to consoles

Running Examples and Source:

Also see Console Introduction