Skip to content

Integrated Terminal: Multiline Urls are not handled correctly #28746

Closed

Description

@webdeb
  • VSCode Version:
    Version 1.13.0 (1.13.0)
  • OS Version:
    OSX - Sierra
    Steps to Reproduce:
  1. Open vscode integrated terminal
  2. Produce an URL which has a line-break inside the console (this for example could be the output of git push with the merge-request creation link, but you can simulate it by just typing an URL basically, has the same effect)
  3. Try to click on it with CMD+Click
  • Expected result:

Full URL is parsed correctly

  • Actual result:

Only the part, which is on the 1. line is parsed as the URL

image

NOTE: In iTerm its working as expected

bildschirmfoto 2017-06-14 um 22 41 35

Activity

  1. added
    terminal
    on Jun 14, 2017
  2. Tyriar commented on Jun 14, 2017

    @Tyriar
    Contributor

    Upstream issue: xtermjs/xterm.js#24

  3. added
    bug
    upstream
    on Jun 14, 2017
  4. added this to the Backlog milestone on Jun 14, 2017
  5. Tyriar commented on Mar 9, 2018

    @Tyriar
    Contributor

    I just pushed in support for this, there are currently the following known issues:

    1. The prompt may or may not be "linkified", this depends on how the linefeed was added to the terminal. For example up to browse history may not work
    2. Printing a long link and then reducing the width of the terminal will cause the underline to go much larger than desired. This should be fixed when reflow is implemented Reflow terminal lines when resized #23688
  6. added
    verified
    on Mar 27, 2018
  7. Tyriar commented on Mar 30, 2018

    @Tyriar
    Contributor

    There are a few issues with multi-line link support still which should get resolved when we tackle reflow #23688

  8. locked and limited conversation to collaborators on Apr 23, 2018
  9. added a commit that references this issue on Sep 6, 2026
    66153e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugterminalupstreamverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions