mirror of
https://github.com/st3fan/ewm.git
synced 2026-10-25 02:02:15 +00:00
The window bar was picked by matching options.model, so an apple2 machine fell into the ][+ arm and showed "Apple ][+". Replace it with a config-driven title: a new top-level `title` field, window reads "EWM - <title>" when set and plain "EWM" otherwise (config::window_title, shared by both frontends). The five built-in configs set it to the machine name: Apple 1, Replica 1, Apple ][, Apple ][+, Apple //e. The old "EWM v0.1 / …" strings are gone; the bootloader window aligns to "EWM - Bootloader". Both `two` and `one` carry the title in Options (from apply_config, and round-tripped by options_to_config so --print-config shows it). It comes from the document only: a bare `ewm two`/`ewm one` stays "EWM" even though one's normalize fills the board from a builtin — so the title tracks what you asked for, not the machine underneath. Tests: window_title formatting, and every built-in carries its machine-name title. Schemas regenerated for the new field. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>