Warp icon indicating copy to clipboard operation
Warp copied to clipboard

oh-my-posh Transient prompt not working in Warp

Open dannyneira opened this issue 2 years ago • 2 comments

Discord username (optional)

jandedobbeleer#9022

Describe the bug

Interesting bug, my oh-my-posh config has a transient prompt and it seems that a prompt repaint repaints the input prompt block and it adds the prompt + command to the history rendering the history in Warp useless (in zsh at least, probably other shells as well). https://ohmyposh.dev/docs/configuration/transient

To Reproduce

  • Install oh-my-posh
  • Enable transient prompt

Expected behaviour

No response

Screenshots

image

Operating System

None

OS Version

13.0.1

Shell Version

zsh 5.9 (arm-apple-darwin22.1.0)

Warp Version

v0.2022.12.06.08.03.stable_02

Additional context

Based on discord chat with Ambassador: https://discord.com/channels/851854972600451112/852249738002956311/1051845190878502912

Does this block you from using Warp daily?

Yes

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

None

dannyneira avatar Dec 13 '22 22:12 dannyneira

Please :+1: and comment if you're also seeing this issue as it helps us gauge impact. We'll post any updates on this thread.

dannyneira avatar Dec 13 '22 22:12 dannyneira

@dannyneira I have just installed Warp v0.2025.06.11.08.11.stable_01 with oh-my-posh v26.6.1.

I use the Meslo nerdfont, and a transient prompt. It seems to work correctly.

(Just noting that using newline: true in the transient config outputs this string:

%}%{
    %}

prior to the template used in the transient fault. Not sure if that is a bug in warp. Can log one if you think it is).

Image

rhulse avatar Jun 14 '25 10:06 rhulse