readkey Questions
7
Solved
4
Solved
I'm using Term::ReadKey in ReadMode('cbreak') to read a single character and perform an action based on the input. This works fine for all other keys except the arrow keys. When the arrow keys are ...
Preshrunk asked 9/9, 2015 at 22:10
3
Solved
I am trying to run my code until Esc was pressed. Therefore I am using ReadKey in my Console
var input = Console.ReadKey();
do
{
} while (input.Key != ConsoleKey.Escape);
but at "ConsoleKey" it...
Told asked 30/12, 2013 at 19:16
3
Possible Duplicate:
How to add a Timeout to Console.ReadLine()?
If I have a Console.ReadKey(), It makes the whole program stuck, how can I make it so that it will read a key for 1 sec...
1
© 2022 - 2024 — McMap. All rights reserved.