Console key input shenanigans
So all i want is to be able to type in things and press esc to call a method but due to me being a dumb person i cant do it and i really could use some help
4 Replies
Console.ReadKey()?from what i know, it just exits when input is given
i want to press
esc to call a method and be able to type anything in Console.ReadLine() at the same timeMaybe
Console.KeyAvailable() running in a task?
Something like
Basically, every 50ms check if a key has been pressed, and if so, do somethinggonna try that