summaryrefslogtreecommitdiffstats
path: root/seed
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-08-20 13:47:10 +0200
committersalmonik <salmonik@tuta.io>2026-08-20 13:47:10 +0200
commitcb17c57452ccd2ccca77e99098402d4b9f61c0a5 (patch)
tree6566e0ddaa764c6675e9a56f03772de345170992 /seed
parentwm: integrate home terminal as window 0 + fix console focus after close (diff)
downloadrs-dos-cb17c57452ccd2ccca77e99098402d4b9f61c0a5.tar.gz
rs-dos-cb17c57452ccd2ccca77e99098402d4b9f61c0a5.zip
wm: F1 spawns a windowed shell — real shell, not a duplicate
Architecture: - vt: ACTIVE terminal redirect — when set, all gop_print!/put_char/write_str go there instead of HOME. Terminal::from_buffer() renders into a WM-owned pixel buffer. - tty: read_line_from_queue() — canonical-mode line input from the task's own message queue (TaskMsg::Key). Returns None on Close. - shell: run_windowed() — same shell as the console but reads from the message queue. Returns on ^D or window close. - wm: F1 calls SPAWN_TERMINAL_CB (set by rsdos). No shell logic in the WM. - rsdos: terminal_task callback + terminal_entry task — creates a 640x400 chrome window, wires up Terminal::from_buffer, sets ACTIVE, runs shell::run_windowed(), cleans up on exit. - shell: 'term' debug command that invokes the callback directly and logs each step to serial.
Diffstat (limited to 'seed')
0 files changed, 0 insertions, 0 deletions