[WSL2] Oh My Posh Themes broken on new tab startup #16527

Open
opened 2026-01-31 05:14:48 +00:00 by claunia · 0 comments
Owner

Originally created by @IsaacLf on GitHub (Jan 28, 2022).

Windows Terminal version

Windows Terminal Preview Version: 1.12.3472.0

Windows build number

19043.1469

Other Software

  • on-my-posh v7.5.1 (in WSL2, Ubuntu 20.04)
  • CaskaydiaCove NF (Cascadia Code Nerd Font) installed on Windows

Steps to reproduce

Once you configured your bash with Oh-My-Posh theme (the theme I'm using is: powerlevel10k_rainbow) and your Nerd Font.

  1. Open a new instance of Windows Terminal or a new tab of WSL2 (Ubuntu in this case).

Expected Behavior

  1. The terminal should render the theme correctly, from startup:
    image

As example, in vscode terminal, when you open a new WSL terminal, will load correctly (that's the expected behavior from Windows Terminal as well):
image

Actual Behavior

  1. The terminal shows broken (not as expected), as following:
    image

You can clear the console with clear command and the console will look as expected, but it's broken from startup (new terminal instance or new tab)

Originally created by @IsaacLf on GitHub (Jan 28, 2022). ### Windows Terminal version Windows Terminal Preview Version: 1.12.3472.0 ### Windows build number 19043.1469 ### Other Software - on-my-posh v7.5.1 (in WSL2, Ubuntu 20.04) - CaskaydiaCove NF (Cascadia Code Nerd Font) installed on Windows ### Steps to reproduce Once you configured your bash with Oh-My-Posh theme (the theme I'm using is: `powerlevel10k_rainbow`) and your Nerd Font. 1. Open a new instance of Windows Terminal or a new tab of WSL2 (Ubuntu in this case). ### Expected Behavior 1. The terminal should render the theme correctly, from startup: ![image](https://user-images.githubusercontent.com/36938997/151510178-d1d62635-f888-4ccd-aa4e-bb70c5a8a47f.png) As example, in vscode terminal, when you open a new WSL terminal, will load correctly (that's the expected behavior from Windows Terminal as well): ![image](https://user-images.githubusercontent.com/36938997/151510423-86132f2c-917b-4507-9cb5-776ef3fc289a.png) ### Actual Behavior 1. The terminal shows _broken_ (not as expected), as following: ![image](https://user-images.githubusercontent.com/36938997/151509945-3437384d-93b6-43c1-881e-371a30ea1419.png) You can clear the console with `clear` command and the console will look as expected, but it's broken from startup (new terminal instance or new tab)
claunia added the Resolution-Duplicate label 2026-01-31 05:14:48 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16527