The OpenD Programming Language

IntegratedEmulator

Indicates the TerminalDirectToEmulator features are present. You can check this with static if.

This will cause the Terminal constructor to spawn a GUI thread with arsd.minigui/arsd.simpledisplay.

This means you can NOT use those libraries in your own thing without using the arsd.simpledisplay.runInGuiThread helper since otherwise the main thread is inaccessible, since having two different threads creating event loops or windows is undefined behavior with those libraries.

  1. enum IntegratedEmulator;
    version(TerminalDirectToEmulator)
    enum IntegratedEmulator = true;
  2. enum IntegratedEmulator;

Meta