I'm working on a program using the CLion IDE, and am running it using the IDE's Run or Debug actions. The program's standard output and error streams are directed to an embedded 'Run' console, typically at the bottom of the CLion Window.
Unfortunately, my program is producing a lot junk messages on stdout, coming from certain libraries I'm using (i.e. I can't turn it off easily in the source code).
If I were running my program outside CLion, I would simply pipe the output stream and/or the error stream through some grep filter (perhaps using stdbuf). But - can I do something like that in CLion? i.e. apply a filter to the Console output? No right-click menu or button on or around the Run console seems to allow for that.