Solve the problem of garbled output in Jetbrains IDE Clion console

Problem as shown

Insert picture description here

solution

1. Modify the console code

Insert picture description here

2. run.process.with.ptyUnchecked

Shortcut keys on the Clion interface Ctrl + Alt + Shift + /
Insert picture description here
Insert picture description here

normal display

Insert picture description here

Guess you like

Origin blog.csdn.net/y1534414425/article/details/109232770