how to clear console screen in cLion in macOs 10.13.3

已回答

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?

2

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.

0
Avatar
Permanently deleted user

With all respect sir/mam, I know this. I want to clear the console while runtime means if something happens then clear the console.

1

Then please follow the mentioned ticket to get updates. Sorry for the inconvenience. 

0

请先登录再写评论。