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.38k stars 373 forks source link

^M inserted instead of submitting input on "Enter" #2943

Open danielgangl opened 1 year ago

danielgangl commented 1 year ago

Discord username (optional)

danielgangl | gangl.eth#6758

Describe the bug

when I am asked for keyboard input from e.g. a python script and I type enter it does not submit but put "^M". When I do it in the default terminal it works and submits. I am aware that this has sth to do with the line-endings, but I am not sure why it works in the default terminal and doesn't in warp. I specifically had the issue with AutoGPT.

To Reproduce

run a python script that asks for input. In my case it was AutoGPT (https://github.com/Significant-Gravitas/Auto-GPT)

Expected behavior

It should submit my entered text input

Screenshots

No response

Operating System

MacOS

OS Version

13.1 (22C65)

Shell Version

version 3.2.57(1)-release (arm64-apple-darwin22)

Warp Version

v0.2023.04.11.08.03.stable_00

Additional context

No response

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:b8107fdf-ba31-488d-b103-d271c89cac3e

None

dannyneira commented 1 year ago

@danielgangl Thanks for letting us know, I'll surface this issue with the team and we'll post any updates on this thread.