Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

New lines output #19

Open
Sabst opened this issue Nov 18, 2014 · 5 comments
Open

New lines output #19

Sabst opened this issue Nov 18, 2014 · 5 comments

Comments

@Sabst
Copy link

Sabst commented Nov 18, 2014

Hi there,

As a 1.3 user, I noticed that new lines are not correctly handled anymore in newer versions.
I tested with 1.4.4 and later.
If the output looks ok in the console, copy/paste ignores new lines and the result is not usable.

To reproduce it, you can just run something like:
println "line1"
println "line2"

And once you copy/paste the result into another application, you get:
line1line2

Thank you for your support.
Stephane.

@sheehan
Copy link
Owner

sheehan commented Nov 26, 2014

Do you still see this with the latest (v1.5.2)? If so, which app are you pasting to?

@Sabst
Copy link
Author

Sabst commented Nov 26, 2014

Yes, also with the latest version.
In my case this is both on Windows and Linux using:
(copy) recent/latest versions of mainstream web browsers
(paste) usual desktop apps: MSOffice/LibreOffice/Eclipse/Notepad++/Emacs/Konsole/Thunderbird... or the previous browser itself.

No exception to the failure so far.
The newline is apparently replaced by a whitespace.


Using version 1.4 and later including 1.5.2:

    In the console:
    println "1234"
    println "5678"

    Pasting the result into an application, you get:
    1234 5678

    Dump of the resulting file:
    $ od -t x1 /tmp/1
    0000000 31 32 33 34
      20 35 36 37 38 0a

Using version 1.3...

     Pasting the result into an application, you get:
    1234
    5678

    Dump of the resulting file:
    $ od -t x1 /tmp/2
    0000000 31 32 33 34 0a 35 36 37 38 0a

@sheehan
Copy link
Owner

sheehan commented Nov 26, 2014

I was able to reproduce it, but only in firefox. Safari, IE and chrome all work correctly for me. Possibly this bug? https://bugzilla.mozilla.org/show_bug.cgi?id=116083

@Sabst
Copy link
Author

Sabst commented Nov 28, 2014

Yes maybe but isn't that a regression ? Using the same browser, it used to work, for example, with 1.3.

@sheehan
Copy link
Owner

sheehan commented Dec 2, 2014

Yeah, I'll take a look at the change when I get a sec.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants