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.97k stars 359 forks source link

^M instead of enter #4686

Open 42sol-eu opened 5 months ago

42sol-eu commented 5 months ago

Discord username (optional)

No response

Describe the bug

I installed the latest version today on ArchLinux using Hyperland Windowmanager. I had a strange issue from a bash-shell that my enter key was translated to ^M (LF?) and did not confirm the next line.

To reproduce

  1. boot arch linux and login into hyprland (I am not sure if this issue is only in Hyperland)
  2. start a Warp-App (the resizing in Hyperland is also not working ...)
  3. start a bash subshell (main shell is zsh)
  4. install e.g. miniconda
  5. During the first user input press enter --> ^M

Expected behavior

No response

Screenshots

No response

Operating system

MacOS

Operating system and version

Rolling Release

Shell Version

No response

Current Warp version

v0.2024.03.26.08.02.stable_02

Regression

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

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

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

acarl005 commented 5 months ago

Hi @42sol-eu thanks for reporting. I'll try to repro the issue with enter keypresses. In the meantime, can you give a bit more detail about the resizing issue? What is happening exactly? It's the Warp window getting incorrectly treated as a floating window?

sebpretzer commented 2 months ago

This issue happens to me as well, specifically when I attempt to press enter within git add -p prompts.

  1. It does not happen all the time: When I start a new window/tab, this does not happen. I am unclear what triggers it, but then at some point it starts using ^M instead of enter.
  2. It only happens inside of git add -p and waiting for responses. It does not happen once I exit the prompt process.

Current Warp Version: v0.2024.07.16.08.02.stable_02, on MacOS. I believe I am using all the default settings for the shell.

tnazare commented 1 month ago

I encounter the same behaviour! also in git add patch mode Warp version v0.2024.08.06.08.01.stable_00