Skip to content

ls --color and vim incorrect colors #2378

@nickolasclarke

Description

@nickolasclarke
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions