Skip to content

Inconsistent formatting in integrated terminal (powershell formatting 'bleed-through') #40190

Closed

Description

  • VSCode Version: 1.18.1
  • OS Version: Windows 10: 1709

I have been having this issue with the vscode integrated terminal for probably 6 months now. The terminal appears to become 'corrupted' while running scripts like webpack or jest running in the terminal. Powershell formatting settings appear to 'bleed through' and make the terminal unreadable. I have reinstalled VScode with no effect as well as reset powershell's formatting settings with 'Set-PSReadlineOption -ResetTokenColors` to no effect.

I am not using any terminal setting that I am aware of and using Dark+ (default dark), which I believe to be completely stock. (I've tried every setting that I can think of.) The problem will persist with other themes.

Here is what it looks like:

bug

I believe that I have identified a workaround by enabling 'legacy mode' in powershell, which can be done by opening a full powershell and choosing properties > options > 'Use legacy console (requires relaunch)'.

As demonstrated here:

console fix

This appears to resolve the immediate issue, however, if one attempts to use bash, you will now receive the error: 'Unsupported console settings. In order to use this feature the legacy console must be disabled.'

Reproduces without extensions: Yes

Activity

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

    @Tyriar
    Contributor

    Ryan Prichard (@rprichard) this seems to be a pretty common issue, have you seen this before?

  3. added
    bug
    upstream
    on Dec 14, 2017
  4. added this to the Backlog milestone on Dec 14, 2017
  5. Tyriar commented on Dec 28, 2017

    @Tyriar
    Contributor

    Let's track this in #40327

  6. added
    *duplicate
    on Dec 28, 2017
  7. locked and limited conversation to collaborators on Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicatebugterminalupstream

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions