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.3k stars 371 forks source link

Option to escape dragged file names with quotes instead of backslashes #1216

Open CouleeApps opened 2 years ago

CouleeApps commented 2 years ago

Discord username (optional)

No response

Describe the solution you'd like?

There should be a way to have dragged files' names escaped with quotes to support using shells like xonsh which do not support backslash escaping.

Possible implementations:

Is your feature request related to a problem? Please describe.

When dragging a file into the terminal, any spaces in the path name are escaped with backslashes. While this works for POSIX-compliant shells, it is not supported in xonsh and makes using this with xonsh non-viable.

Additional context

I submitted a patch to iTerm for this a couple years ago: https://github.com/gnachman/iTerm2/pull/400

Warp Internal (ignore) - linear-label:efcea52d-0ab4-4a92-a41b-93c3e244f0a0

No response

elviskahoro commented 2 years ago

Thanks for opening. Can't give you an ETA on this cause it's super specific