-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Console] Fix error output on windows cli #47883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can confirm this does not change the output on Linux.
Should be merged in 4.4 imho (we can switch branches during the merge)
Note that the issue might be |
@chalasr it's a bug with linebreaks at all on windows cli, not just leading. see the screenshot with a linebreak in the middle. The code behind the screenshot: |
Thank you @maxbeckers. |
@chalasr, just a info because i figured out now ... using the constand So in future we should use the constant for linebreaks. |
to me, we should rather make SymfonyStyle compatible with both |
In the issue #47862 a console output bug was detected.
Before the fix on a windows cli:

After the fix:

The problem have been the linebreaks in the message.