Skip to content

vim colorscheme does render BG colors correctly. Corrupts shell window BG colors. #375

@OriginalMadProgrammer

Description

@OriginalMadProgrammer

Linux HEINLEIN 4.4.0-17134-Microsoft #523-Microsoft Mon Dec 31 17:49:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux

If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.

Seems related to #85

Please fill out the below information:

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

  • What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)

Each CASE starts with a freshly started shell window.

CASE 1:

vi /etc/passwd
:colorscheme blue
:q 
  • What's wrong / what should be happening instead:
    Expected: Background should be entirely blue, unless syntax highlighting changed it.
    Observed: Blue background stops at the end of each line then returns to native black.

    Expected: on exit screen should return to all black background on return to shell.
    Observed: blue background on characters of bottom line that also returns to native black at EOL.
    New blue background under text are for each new line written.

NOTE: repeating the vi command produces a screen with full blue background, as desired..

CASE 2:
https://github.com/GilbertsHub/web-utils/blob/master/cgibinIntercept.sh

vi cgibinIntercept.sh 
:colorscheme blue
:q 

Expected: background is all blue.
Observed: in this case background is correctly all blue.

Expected: on exit shell window should return to black background.
Observed: same is with CASE 1 exit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-RenderingText rendering, emoji, complex glyph & font-fallback issuesArea-VTVirtual Terminal sequence supportIssue-BugIt either shouldn't be doing this or needs an investigation.Product-ConhostFor issues in the Console codebaseResolution-Fix-AvailableIt's available in an Insiders build or a release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions