Closed dschulman-repay closed 2 months ago
@dschulman-repay did you upgrade and restart the shell? Because if you didn't, it will still try to print the right prompt, but escaped (which would result in what you're seeing).
My apologies. Restarting the shell did indeed clear the issue; I wasn't aware that this was necessary for this upgrade.
@dschulman-repay not always, but for this one, yes.
Code of Conduct
What happened?
I'm using Oh My Posh on Ubuntu 24.04 under WSL. My prompting sequences worked fine under Oh My Posh 21.27.0, but the upgrade to 22.0.1 seems to have broken the way escape sequences are handled:
I read about the removal of
rpath
support in the release notes, but didn't see anything which looked like it could explain the behavior I'm seeing, nor what to do about it. For what it's worth, I use the same versions of Oh My Posh in Linux, MS-DOS command shell, and PowerShell; the upgrade didn't cause any unexpected behavior anywhere except under WSL/Linux.Have I missed something? Any ideas would be welcome.
Theme
default
What OS are you seeing the problem on?
Linux
Which shell are you using?
bash
Log output