fragmer
2006.05.10, 03:54 AM
Hello;
I'm writing an extremely simple console utility in C. I need to implement a simple "press any key to continue" pause, which I usually did with kbhit(), getch() or getche() back in the Windows days. But none of that, of course, works on MacOS.
Is there a way to make such a "press any key" pause without having to mess with unbuffered input modes and obscure libraries?
Thanks in advance!
I'm writing an extremely simple console utility in C. I need to implement a simple "press any key to continue" pause, which I usually did with kbhit(), getch() or getche() back in the Windows days. But none of that, of course, works on MacOS.
Is there a way to make such a "press any key" pause without having to mess with unbuffered input modes and obscure libraries?
Thanks in advance!