kbhit doesn`t work in terminal Follow
Answered
Windows11 Clion2022.1
In the code below, when I input keyboard in terminal, the process keeps in kbhit loop until I hit enter.It`s wrong.
Please sign in to leave a comment.
Hello!
You can try enabling the "Run in external console" option in your run/debug configuration (
Run | Edit Configurations...
)."Run in external console" , it works! Good!