-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
repl,util: insert carriage returns in output #8028
Conversation
I guess this looks okay (and |
@addaleax I'm not sure why it was happening that way, but that is the problem I was running into with a module I wrote. |
@mscdex PTAL, LGTY? |
There are still various places that still only use |
@mscdex Done, PTAL again :) |
@mscdex If LGTY, I will run a new CI |
Would it bet better to use |
See #7954 (comment) … so, apparently no, but I’d still really like to understand what the real problem here is that this is trying to solve. |
gentle ping @mscdex |
I think that should do it. LGTM if CI is ok with it. |
CI is green :) |
`\n` is not enough for Linux with some custom stream add carriage returns to ensure that the output is displayed correctly using `\r\n` should not be a problem, even on non-Windows platforms. Fixes: #7954 PR-URL: #8028 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Landed in fce4b98 |
`\n` is not enough for Linux with some custom stream add carriage returns to ensure that the output is displayed correctly using `\r\n` should not be a problem, even on non-Windows platforms. Fixes: #7954 PR-URL: #8028 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Anna Henningsen <anna@addaleax.net>
I feel like this should have been marked as a breaking change. |
+1 on marking as breaking change. |
Checklist
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
repl, util
Description of change
\n
is not enough for Linux with some custom streamadd carriage returns to ensure that the output is displayed correctly
using
\r\n
should not be a problem, even on non-Windows platforms.Fixes: #7954