warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.36k stars 338 forks source link

Twin Output Block in oh-my-posh #4316

Open nmlinux opened 4 months ago

nmlinux commented 4 months ago

Discord username (optional)

No response

Describe the bug

Screenshot from 2024-02-24 23-27-01

The wrap terminal is displaying twin output block.

To reproduce

Install Oh-my-posh on bash, customized theme , installed wrap and selected bash as prompt. The twin output block problem started showing from the begining only. Screenshot from 2024-02-24 23-33-27

Expected behavior

Expected a single output block. It starts showing single output block as I remove oh-my-posh theme from [bash.]([url](Screenshot from 2024-02-24 23-43-40))

Screenshots

No response

Operating system

Linux

Operating system and version

Ubuntu 22.04

Shell Version

GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu) Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Current Warp version

v0.2024.02.20.08.01.stable_02

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

24 Feb

Additional context

The problem becomes annoying after using the terminal sometime.

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

dannyneira commented 1 month ago

Hey folks, thanks for your patience. I was able to reproduce this with a basic oh-my-posh install. We're also working on some changes to how we handle the prompt which may help with this issue. I'll let the team know and we'll post updates on this thread.