facebook

Incorrect line breaks in terminal clipboard copy

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #527093 Reply

    Fedor Losev
    Participant

    When text copied from terminal, word wrapped line is copied as multiple lines (with the breaks of word wrap).

    Hence one can’t just copy long command from terminal and paste it in another console.

    #527278 Reply

    support-swapna
    Moderator

    Fedor,

    The Terminal is Eclipse’s plugin. I have filed a bug for the dev team to check if we can work on the line breaks issue. We will keep you posted about the fix.

    –Swapna
    MyEclipse Support

    #547147 Reply

    Fedor Losev
    Participant

    Actually, Terminal+ is presented as part of WebClipse product, whether it is internally based on Eclipse terminal is an implementation detail. If Eclipse terminal as is was good enough, then there wasn’t need in any Terminal+.

    #547148 Reply

    Brian Fernandes
    Moderator

    Fedor,

    You’re absolutely right, that is why we developed Terminal+ – so we could improve on what the Eclipse Terminal view offers.

    I ran a few quick tests right now and wrapped commands were copied fine – there were no line breaks in the copied content. Can you still replicate the problem?

    1) For the same command, does your experience change if the Terminal+ view is made wide enough to take the entire command (if possible) or does the break appear at another location based on the width of the view?

    2) Please remind me: Are you using Webclipse on Eclipse Neon or Eclipse Oxygen?

    3) Can you give us a sample command or attach a screenshot of a wrapped command? Might help us find a case we aren’t testing.

    Thanks!

    #547153 Reply

    Fedor Losev
    Participant

    Hi,

    It is cut just at the current terminal width and does not happen when there is enough space.

    Below I just press up arrow to bring last command, select and copy it:

    
    $ ***/angular-ide/bin/ng serve --port=4200 --live-reload=true --proxy=proxy/proxy.conf.test.json --host lo[LF]
    cal.host.com
    

    narrower window:

    
    $ ***/angular-ide/bin/ng serve --port=4200 --live-reload=tru[LF]
    e --proxy=proxy/proxy.conf.test.json --host local.host.com
    

    If I press enter it doesn’t seem to be broken internally, executes ok.

    Moreover, on terminal resize it does layout rather strangely, sometimes reflowing, sometimes leaving it at line brake, sometimes showing scrollbar.

    I’m currently on Neon 3, is Oxygen considered stable for WebClipse, do you recommend upgrade?

    If you say it is completely not reproducible and Terminal+ is based on Eclipse internal terminal, it may be something in my environment from other plugins, I need to test again on clean install then.

    • This reply was modified 6 years, 2 months ago by Fedor Losev.
    #547165 Reply

    support-tony
    Keymaster

    Fedor,

    We have now managed to replicate the issue consistently, once we realised that this was a Windows specific problem (we couldn’t replicate it on either Linux or Mac). We’ve now raised the priority of the bug and will look to get a fix in as soon as possible.

    Apologies for the delay in addressing this.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Incorrect line breaks in terminal clipboard copy

You must be logged in to post in the forum log in