how to clear console screen in cLion in macOs 10.13.3
Answered
I couldn't find the way how to clear the screen of the console in cLion. I tried everything clrscr() and system(clear), but both didn't work.
so what can I do now?
Please sign in to leave a comment.
Hi! Here is the feature request about the system("clear"): https://youtrack.jetbrains.com/issue/CPP-822. Feel free to comment or upvote.
You can clear console manually using the "Clear All" option of the Run tool window:
It removes all text from the console. This function is also available on the context menu of the console.
With all respect sir/mam, I know this. I want to clear the console while runtime means if something happens then clear the console.
Then please follow the mentioned ticket to get updates. Sorry for the inconvenience.