Output and resource use

While a driver runs, the window displays its merged stdout/stderr pipe. Descendants inherit the same pipe, including extraction, recompilation and the final game. The console consumes bytes as they arrive, even without a newline. Long lines wrap at the right edge. At the bottom, rows move up and the oldest row is discarded. Only the visible screen is retained, with no scrollback or accumulating log file. ANSI color/title escapes are ignored. UTF-8 characters available in CP437 use the corresponding VGA glyph, and other characters are displayed as ?.

After the driver and its descendants finish, the initial menu returns automatically with the exit status and the last visible output. Nothing is restarted automatically. A missing driver or invalid dropped path leaves the prompt open with a diagnostic. Drivers use line-buffered stdout so progress remains visible when piped. A third-party program that buffers or privately redirects its output still controls when it flushes.

The Status box samples combined GUI and descendant resource use every half second:

Linux and FreeBSD track a private child session, including the separate process groups created by the driver's stage supervisor and descendants that outlive their immediate parent. Linux uses /proc, FreeBSD uses sysctl. Windows assigns the suspended driver to a Job Object before letting it run, containing its descendants and providing job-wide CPU accounting. No elevated privileges are needed.


Made from docs/user/gui.md at 69237645142c. GPL-3.0-or-later.