Skip to content

Horizontal resize screws up horizontal terminal layout #8336

Closed

Description

#8222

  1. Open integrated terminal - run some scripts which uses all the horizontal space
  2. Resize vscode window horizontaly - notice how the terminal will shrink but will never re-grow
  3. I would expect the terminal grows horizontally as do the other terminals

terminalresize

Activity

  1. added
    terminal
    on Jun 28, 2016
  2. Tyriar commented on Jun 28, 2016

    @Tyriar
    Contributor

    Upstream issue for prompt messing up on resize: xtermjs/xterm.js#103
    Upstream issue for output messing up on resize: xtermjs/xterm.js#325

  3. added
    bug
    upstream
    on Jun 28, 2016
  4. Tyriar commented on Nov 28, 2016

    @Tyriar
    Contributor

    I've consolidated all issues related to horizontally resizing the viewport under this one. It's important to note that Windows seems to behave a little worse when resizing than other platforms, wrapping some lines incorrectly. These are still all upstream issues as mentioned in #8336 (comment)

  5. lrs commented on Jan 9, 2017

    @lrs

    Several months later and no update? What does "upstream" mean in this context by the way?

    I only add a comment because the integrated terminal feature seems to be a major factor when considering whether to go with Code or not.

    Is this a problem with Windows installations only? I can use and resize an external cmd window just fine when I exec npm run build that is watching for changes for example.

  6. Tyriar commented on Jan 9, 2017

    @Tyriar
    Contributor

    Upstream means xterm.js. There is a community member who has a PR out at the moment but it needs to be reworked after some big performance related improvements. It applies to all operating systems.

  7. lrs commented on Jan 9, 2017

    @lrs

    OK, thanks for the update.

  8. Tyriar commented on Mar 30, 2017

    @Tyriar
    Contributor

    The resize discarding data is fixed in Insiders, the data will now reappear when resized back thanks xtermjs/xterm.js#616 from Lucian Buzzo (@LucianBuzzo).

    Lucian Buzzo (@LucianBuzzo) also has a PR out that isn't merged just yet that adds support for reflowing the lines so they will get wrapped when the horizontal size is reduced! This is tracked in #23688

  9. locked and limited conversation to collaborators on Nov 18, 2017
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