Function run_visuals_loop
async fn run_visuals_loop(
api: &dyn WindowsApi,
state_receiver: Receiver<ClientState>,
highlight_receiver: Receiver<bool>,
base: Option<ConsolePaletteSnapshot>,
disabled_console_color: CONSOLE_CHARACTER_ATTRIBUTES,
highlighted_console_color: CONSOLE_CHARACTER_ATTRIBUTES,
)Expand description
Drive the per-client console color: track state_receiver and
highlight_receiver, paint the steady-state combination, and flash the
underlying state color for HIGHLIGHT_FLASH_DURATION. A None base
(the palette could not be read) degrades all painting to a no-op.