Clion Doesn't Show the Correct Output in C++ (Image Attached)
已回答
It's clearly not the desired output. The space after the ":" moved down. I tried ignoring it at first but it messes up the output in all of my codes. Is this a bug?

Other compilers give the correct output:

It's not a big deal but it's quite annoying. I don't want to use VS2019 because I like the CLion shortcuts more. Is there any solution to this?
请先登录再写评论。
Hello!
Sorry for the inconvenience. It's https://youtrack.jetbrains.com/issue/CPP-17579. Feel free to comment or upvote the issue in order to get updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.
Do you use MinGW? As a workaround you can switch to Cygwin.
The Visual Studio toolchain also has the same problem. Alright I'll use Cygwin, thanks.
Thanks for the information! I'll add it to the issue.
How do you fix this? Does this happen to everybody who uses CLion? Do I have to switch to another IDE?
@... as stated in https://youtrack.jetbrains.com/issue/CPP-17579 mentioned above, you can either use Cygwin as a toolchain, or disable PTY (
Help | Find Action> type "Registry" > open Registry > find and disable the run.processes.with.pty option).Anna Falevskaya thanks!