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
21.1k stars 360 forks source link

The `hr` command on macOS displays differently #4977

Open glawrence opened 4 months ago

glawrence commented 4 months ago

Dupe Check

Describe the bug

I am using the hr command on macOS, when using it in Warp I get different output compared to the standard terminal

To reproduce

  1. Start Warp
  2. Type hr - press enter
  3. Type 'hr - #` press enter

Expected behavior

I expect to see the following output:

me@My-MacBook-Pro ~ % hr -
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
me@My-MacBook-Pro ~ % hr - #
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#################################################################################################################################################################################################################################################
me@My-MacBook-Pro ~ % 

Screenshots

Unfortunately I get the following output, the hash symbol is ignored

image

Operating system

MacOS

Operating system and version

Sonoma 14.5

Shell Version

zsh 5.9 (x86_64-apple-darwin23.0)

Current Warp version

v0.2024.05.28.08.02.stable_00

Regression

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

Recent working Warp date

No response

Additional context

I use hr - # as part of a longer series of commands all put together with && in an alias, the hr comes first and the other commands don't execute in Warp as they do with the standard terminal, so I started to unpick and this seems to be the key problem.

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 4 months ago

Hi @glawrence Thanks for letting us know. I've noticed it's only happening with certain symbols but not others, for example hr $ - works alright but hr # - doesn't. I'll let the team know and we'll post updates on here. From my understanding hr is used to create visual separation between commands/logs, etc. So as a possible workaround, Blocks are essentially doing something similar in Warp and you can learn more about them here.

To anyone else facing this issue, please add a 👍 to the original post at the top or comment with your details, and subscribe if you'd like to be notified.