Is there any way to detect a keypress without using the getch() function?
Here is a tutorial I made on this. I hope it explains it well.
If this post helped, mark it as the answer
You could use kbhit
Here is a tutorial I made on this. I hope it explains it well.