-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Labels
Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsResolution-ExternalFor issues that are outside this codebaseFor issues that are outside this codebase
Description
Environment
Platform ServicePack Version VersionString
-------- ----------- ------- -------------
Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable): N/A
Other Software:
vim 8.1
Steps to reproduce
- Use a colored prompt (like powerline) with colors about the normal 16 color palette. For example, for cmd something like:
PROMPT $e[38;5;231;48;5;55m$$$s$e[0m - Open vim:
vim - Close vim:
:q
Expected behavior
Previous colors stay the same.
Actual behavior
Colors from previous prompts that were rendered seem to resort to the 16-color palette, e.g. the purple in the example above is now magenta. Light blue turns to blue, etc.
To note, this seems to happen with any conhost, but it doesnt reproduce if I run WSL in cmd/pwsh then open vim in wsl. However, if I open vim.exe in WSL, it launches okay but upon closing the previous history is completely erased.
Perhaps this is an error with Win32 vim, but perhaps the color palette shouldn't be allowed to be changed by any program that was written when conhost supported only 16 colors. Just a thought.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsResolution-ExternalFor issues that are outside this codebaseFor issues that are outside this codebase
