How to fix Console output when Console.ReadKey receives an Escape key in C#?
I want to read user inputs from a C# console application targeting .NET Core 3.1.
In some situations, the user shall have the choice to cancel the input and the related operation by pressing the Escape key at any point of time when the user is prompted for input.