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

Open
opened 2026-01-30 21:55:20 +00:00 by claunia · 0 comments
Owner

Originally created by @OriginalMadProgrammer on GitHub (Feb 17, 2019).

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 https://github.com/Microsoft/console/issues/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.

Originally created by @OriginalMadProgrammer on GitHub (Feb 17, 2019). 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](https://github.com/microsoft/console/issues). Seems related to https://github.com/Microsoft/console/issues/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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#564