Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How Do You Clear the macOS Terminal Pad In Visual Studio For Mac?

I'm debugging a C# console application using Visual Studio for the Mac. I'm using frequent Console.WriteLine() statements.

Is there anyway to clear the output of the Terminal - macOS pad where the Console output is displayed every time I run / debug the program? I've tried calls to Console.Clear() to no effect. I have seen suggestions to use Cmd-K but that doesn't work. Other suggestions are all for VSCode, not Visual Studio.

enter image description here

Surely I can't be the only one who finds seeing the old output distracting when debugging?

like image 651
Garry Pettet Avatar asked Jun 15 '20 10:06

Garry Pettet


1 Answers

You aren't alone. I was just wondering why it didn't clear the screen either. There is an option to use Terminal, instead of the built in terminal. Check under Preferences > Terminal, then remove the check mark next to "Enable Integrated Terminal" and it will just pop up in a normal terminal which doesn't seem to have that issue. If you figure something else out let me know though.

like image 61
LJ2010 Avatar answered Oct 18 '22 05:10

LJ2010