Vim with termguicolors in Windows Terminal outputs wrong color #18557

Open
opened 2026-01-31 06:17:36 +00:00 by claunia · 0 comments
Owner

Originally created by @3N4N on GitHub (Sep 28, 2022).

Windows Terminal version

v1.16.2524.0

Windows build number

10.0.22000.978

Other Software

vim 9.0, 64-bit & 32-bit (checked with both), built with MSys2/MinGW.

Steps to reproduce

vimd --clean +"set ls=2 tgc"

Expected Behavior

In the old conhost terminal, the colors are output properly. Same thing should happen in Windows Terminal.

vim in conhost

Actual Behavior

But in Windows Terminal (v1.16.2524.0), the colors with :h termguicolors enabled is incorrect.

vim in Windows Terminal

Originally created by @3N4N on GitHub (Sep 28, 2022). ### Windows Terminal version v1.16.2524.0 ### Windows build number 10.0.22000.978 ### Other Software vim 9.0, 64-bit & 32-bit (checked with both), built with MSys2/MinGW. ### Steps to reproduce ``` vimd --clean +"set ls=2 tgc" ``` ### Expected Behavior In the old conhost terminal, the colors are output properly. Same thing should happen in Windows Terminal. [![vim in conhost][1]][1] [1]: https://i.stack.imgur.com/fUNtg.png ### Actual Behavior But in Windows Terminal (v1.16.2524.0), the colors with `:h termguicolors` enabled is incorrect. [![vim in Windows Terminal][2]][2] [2]: https://i.stack.imgur.com/G6XAq.png
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 06:17:36 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18557