JanDeDobbeleer / oh-my-posh2

A prompt theming engine for Powershell
MIT License
5.18k stars 281 forks source link

Escape sequences in terminal #314

Closed kwmlodozeniec closed 3 years ago

kwmlodozeniec commented 3 years ago

I get weird escape sequences in my terminal on Windows 10 (I am using alacritty but the issue is present in powershell terminal itself too). Capture Here is my powershell profile:

$PSDefaultParameterValues["Out-File:Encoding"] = "utf8"
$MaximumHistoryCount = 1000;

Import-Module posh-git
Import-Module oh-my-posh
# Set-Theme Powerlevel10k-Lean
Set-Theme Paradox
Set-Location C:\repos

I am assuming there is an issue with the escape sequences as the time chunk is not pushed to the right of the terminal. Any ideas?

JanDeDobbeleer commented 3 years ago

Yup, I'd look at using V3 which is rewritten from scratch and works in that regard :-)