Files
Claude 3a7aa7c907 Add a console window for the C library
tools/macapp.py --console window links runtime/libc/window/console.c
(libmacconsole.a) in place of the console files: stdout and stderr show
in a Monaco 9 window that wraps and scrolls, and stdin reads lines typed
into it, with Delete, and Command-D, Command-period or the close box
for end of input. The window initializes the Toolbox unless the program
sets _console_toolbox to 0, and stays after exit until a key or click.

sim68k.py and simppc.py fake the window, QuickDraw text and event calls
and take --keys TEXT as typed keys; tests/run.sh runs tests/console.c in
both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSuLMRWD4gxrktBpac
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-11 12:12:16 +00:00
..