Skip to content

Commit 35458ec

Browse files
committed
fix(auth): 🛠 wait for any key press before exit
Replaced Enter key requirement with any key press in the authentication error handler on Windows, improving user experience when exiting after an error.
1 parent 0dacfb0 commit 35458ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/EcoFlow.Mqtt.Api/EntryPoint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
if (OperatingSystem.IsWindows())
2727
{
2828
Console.WriteLine("Press any key to exit.");
29-
Console.ReadLine();
29+
_ = Console.ReadKey();
3030
}
3131

3232
Environment.Exit(1);

0 commit comments

Comments
 (0)