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.53k stars 377 forks source link

Completions broken when cursor inside double-quotes #4857

Open acarl005 opened 7 months ago

acarl005 commented 7 months ago

Discord username (optional)

No response

Describe the bug

If I have a command in the input like so:

ls "./<cursor here>"

and I press tab, the contents of the completion menu are incorrect.

To reproduce

Go to a dir which is not the home dir

ls "./<cursor here>"

And press Tab

Expected behavior

I should see the contents of the current dir in the autocomplete menu.

Screenshots

Screenshot 2024-04-30 at 11 48 54

Operating system

MacOS

Operating system and version

MacOS 14.4.1 (23E224)

Shell Version

all shells

Current Warp version

v0.2024.04.30.08.01.dev_00

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?

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

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.