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
Notebook output is invisible when printing strings with \r\r\n line endings #2560
Comments
Looks like it's in utils.js, around line 194.
|
Got it. I'm just looking at it now. I still don't have a clue about regular expressions, but leave it with me. It's a pretty simple task, so I'll figure it out. |
I think I have a fix On 8 November 2012 23:46, Carl Smith notifications@github.com wrote:
|
Have a look at PR #2561 |
…iage returns before line feed Closes gh-2560
Some command line tools opt to use
\r\r\n
line endings. While the terminal and Qt console handle this with no apparent problems, the Notebook prints blank lines.When using the Android Debug Bridge in the Notebook, you get blank lines as output, with one blank line for each actual line it should have printed. This can likely be reproduced by writing a quick script that prints a few lines with
\r\r\n
line endings to stdout and then run it from the Notebook.I had a look at prettify.js, where I assume the change needs to be made, but I don't know much about regular expressions, nor JavaScript for that matter, so it was beyond me to be honest.
Thanks to Thomas for figuring out cause of the problem.
The text was updated successfully, but these errors were encountered: