Skip to content

ls --color and vim incorrect colors #85

@bitcrazed

Description

@bitcrazed

From @nickolasclarke on July 29, 2017 8:20

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    Microsoft Windows [Version 10.0.16232.1000]

  • What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)

when I use ls --colors all subsequent prompts have a highlighted background applied to them when using hyper terminal and vs code terminal. This also happens when I use vim in those terminals.

Hyper:
capture

VS Code:
capture2

vim on the BashOnWindows terminal and in Hyper (same thing happens in vscode):
capture3

  • What's wrong / what should be happening instead:

there should not be a alternative background color applied to all lines, and it should not remain after the the command completes.

I'm honestly at a bit of a loss on how to troubleshoot this. I thought it my be my some things I did with LS_COLORS and .dircolors, but I've backed everything out of those and its still doing this. I dont believe it is an issue with the hyper terminal since I am seeing it from the VS Code terminal as well.

Copied from original issue: microsoft/WSL#2378

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-VTVirtual Terminal sequence supportIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsProduct-ConhostFor issues in the Console codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions