ModernUO/Projects/Server/Console
Kamron Batman cd62856767 refactor(console): headless-aware facade over ConsoleInputPump; remove async-void handshake
ConsoleInputHandler.Initialize() now checks Core.Headless and skips
starting the input thread entirely when stdin isn't a TTY, logging
instead. When not headless, it delegates the read loop to
ConsoleInputPump (Task 2) rather than running its own async void
loop with a two-AutoResetEvent handshake.

ReadLine() throws HeadlessConsoleInputException when headless, falls
back to a direct Console.ReadLine() during early startup or after the
pump loop has ended, and otherwise blocks on the pump.
2026-07-15 23:32:06 -07:00
..
ConsoleInputHandler.cs refactor(console): headless-aware facade over ConsoleInputPump; remove async-void handshake 2026-07-15 23:32:06 -07:00
ConsoleInputPump.cs fix(console): make ConsoleInputPump cleanup unconditional; document single-caller contract 2026-07-15 23:32:06 -07:00
HeadlessConsoleInputException.cs feat(console): add Core.Headless flag and guard the exit-pause prompt 2026-07-15 23:32:06 -07:00