Display error #15273

Open
opened 2026-01-31 04:33:23 +00:00 by claunia · 0 comments
Owner

Originally created by @tomochomo on GitHub (Sep 19, 2021).

I use the Windows Terminal for WSL with a customized terminal prompt.
But after I updated the app the other day, only the first line of the prompt got a somewhat strange display.

I put the following code in bashrc and use the font "Menlo for Powershell" by the way.
export PS1='[\e[30;47m] \d \t [\e[37;44m][\e[30;44m] \u@\h [\e[34;42m][\e[30;42m] \w [\e[32;49m][\e[39m]'
(Sorry if the rightward triangles above may get garbled.)
The problem is that some spaces are not colored such as between the current time and rightward triangle, between rightward triangle and username "tomoyuki," and so on.

Is there any way to avoid this display error?
(Here's the screenshot of the terminal display.)
2021-09-19 221713

Originally created by @tomochomo on GitHub (Sep 19, 2021). I use the Windows Terminal for WSL with a customized terminal prompt. But after I updated the app the other day, only the first line of the prompt got a somewhat strange display. I put the following code in bashrc and use the font "Menlo for Powershell" by the way. export PS1='\[\e[30;47m\] \d \t \[\e[37;44m\]\[\e[30;44m\] \u@\h \[\e[34;42m\]\[\e[30;42m\] \w \[\e[32;49m\]\[\e[39m\]' (Sorry if the rightward triangles above may get garbled.) The problem is that some spaces are not colored such as between the current time and rightward triangle, between rightward triangle and username "tomoyuki," and so on. Is there any way to avoid this display error? (Here's the screenshot of the terminal display.) ![2021-09-19 221713](https://user-images.githubusercontent.com/72292257/133928980-2ff300a2-8572-454b-9162-3a271444cc20.png)
claunia added the Resolution-Duplicate label 2026-01-31 04:33:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15273