title: Read user input until ESC is pressed in C
body: <p>Is there a way to read user input until the ESC key(or any other key) is pressed? I've seen forums about it but they've all been for C++. I need to make one that works for C. Thanks</p>