Commit Graph
3 Commits
Author SHA1 Message Date
Willem Vanhulle d0063c2371 refactor: drive the watch loop with async streams in the Elm style
Every source is a stream of ScreenInput values: the systemd bus (resolved into
BootChange values), keys, frame ticks, full repaints, password requests and
SIGTERM. They are merged with stream::select and folded by one owned
WatchScreen, drawing once per ready batch. The live boot and the scripted demo
share the fold and differ only in their console desk. tokio current-thread
replaces poll(2) and signal-hook. Release binary: 1.74 MB -> 1.86 MB.
2026-10-21 12:49:33 +02:00
Willem Vanhulle 3fbc2a7c78 refactor: drive the spinner by time instead of frame count 2026-10-21 12:49:33 +02:00
Willem Vanhulle 2191a27b82 refactor: group modules by data-flow stage behind a thin main 2026-10-21 12:12:49 +02:00