Commit Graph
8 Commits
Author SHA1 Message Date
Willem Vanhulle f8f1b54d75 refactor: merge the console into the live desk and shrink the desk trait to what screens differ in 2026-10-25 13:55:26 +01:00
Willem Vanhulle 734988247d refactor: split the bus feed's link from its boot tracker and poll fd streams directly 2026-10-25 13:55:26 +01:00
Willem Vanhulle 1d098dc931 fix: Ubuntu bugs 2026-10-25 12:03:39 +01:00
Willem Vanhulle 58bef783cc fix: handover too early 2026-10-21 15:45:24 +02:00
Willem Vanhulle b126596973 fix: animation timeline loops 2026-10-21 15:45:24 +02:00
Willem Vanhulle 0a29c7c88a feat: animate at 60 fps with timers in hundredths and bars that grow by eighths
Frames tick every 16 ms; password checks and the bus's fallback wake-ups keep
their own 100 ms clock. Running units show hundredths, and a running bar's tip
fills in eighths when the console font has the block glyphs. The scripted boot
demo uses about 2% of a core.
2026-10-21 13:24:35 +02:00
Willem Vanhulle a071b2d065 perf: repaint the whole console only when something disturbed it
Console upkeep still runs every second, but a full repaint follows only when it
had to re-quiet the kernel, take the terminal back or noticed a new font, after
reconnecting, and every five seconds as a safety net.
2026-10-21 13:24:35 +02:00
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