From 368920734dd631b7a00a2e5df2a55436d1c90eee Mon Sep 17 00:00:00 2001 From: Zac Gaetano Date: Thu, 7 May 2026 15:38:02 +0000 Subject: [PATCH] fix(console): disambiguate System.Console from TeamsISO.Console namespace --- src/TeamsISO.Console/Program.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/TeamsISO.Console/Program.cs b/src/TeamsISO.Console/Program.cs index 43e1363..373c8c6 100644 --- a/src/TeamsISO.Console/Program.cs +++ b/src/TeamsISO.Console/Program.cs @@ -10,6 +10,8 @@ using TeamsISO.Engine.Pipeline; namespace TeamsISO.Console; +using SysConsole = System.Console; + /// /// Headless smoke runner. Wires up the engine end-to-end against the production NDI P/Invoke /// interop and prints participant updates, alerts, and ISO state. Useful for first-validation @@ -80,7 +82,7 @@ public static class Program var sub2 = controller.Alerts.Subscribe(a => logger.LogWarning("ALERT: {Message}", a.Message)); using var cts = new CancellationTokenSource(); - Console.CancelKeyPress += (_, e) => { e.Cancel = true; cts.Cancel(); }; + SysConsole.CancelKeyPress += (_, e) => { e.Cancel = true; cts.Cancel(); }; await controller.StartAsync(cts.Token); logger.LogInformation("Engine started. Default framerate: {Fps:F2} fps. Press Ctrl+C or 'q' Enter to quit.", @@ -104,7 +106,7 @@ public static class Program { while (!cts.IsCancellationRequested) { - var line = Console.ReadLine(); + var line = SysConsole.ReadLine(); if (line is null) return; if (line.Trim().Equals("q", StringComparison.OrdinalIgnoreCase)) {