Windows Terminal Preview will cover the command-line's color scheme of wsl2(Ubuntu) #18706

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

Originally created by @Submerging on GitHub (Oct 17, 2022).

Windows Terminal version

Version: 1.16.2642.0

Windows build number

10.0.25182.1010

Other Software

WSL version: 0.70.0.0
Kernel version: 5.15.68.1
WSLg version: 1.0.45
MSRDC version: 1.2.3575
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.25182.1010

Steps to reproduce

open wsl2 in Windows Terminal Preview;
the ubuntu command line color, such as ls, vim, shows white for all words rather than the color inherited from PS1 and LS_COLORS from file .bashrc in Ubuntu. This change occurs after some update of Win11.

Windows Terminal still works well with the same setting.json.

Expected Behavior

I expect to use command line color inherited from my individual PS1 and LS_COLORS of file .bashrc in Ubuntu
image

Actual Behavior

image
Originally created by @Submerging on GitHub (Oct 17, 2022). ### Windows Terminal version Version: 1.16.2642.0 ### Windows build number 10.0.25182.1010 ### Other Software WSL version: 0.70.0.0 Kernel version: 5.15.68.1 WSLg version: 1.0.45 MSRDC version: 1.2.3575 Direct3D version: 1.606.4 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.25182.1010 ### Steps to reproduce open wsl2 in Windows Terminal Preview; the ubuntu command line color, such as ls, vim, shows white for all words rather than the color inherited from PS1 and LS_COLORS from file .bashrc in Ubuntu. This change occurs after some update of Win11. Windows Terminal still works well with the same setting.json. ### Expected Behavior I expect to use command line color inherited from my individual PS1 and LS_COLORS of file .bashrc in Ubuntu <img width="358" alt="image" src="https://user-images.githubusercontent.com/19513364/196143787-8244b972-888f-4d4a-845a-c2d6c5e6718c.png"> ### Actual Behavior <img width="347" alt="image" src="https://user-images.githubusercontent.com/19513364/196144008-b81161c3-ea30-44cd-b214-f2e40578779b.png">
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 06:21:57 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18706