Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Ensure file paths are properly escaped during pasteboard paste o…
…perations (#5036) This PR ensures file paths derived from pasteboard operations are properly escaped: ## Before fix: Attempting to cd into these paths rendered the following error: `cd: too many arguments` because the directory name includes spaces or special characters, which need to be handled correctly when running the cd command. https://github.com/user-attachments/assets/4d03a94a-fa14-4ac8-9c1e-1ad8b0b939a7 ## Afer fix File paths are now properly escaped and we can correctly `cd` into these paths. https://github.com/user-attachments/assets/72e794c0-31e4-43b8-bebf-76c161924bd1 This change ensures Ghostty has the same behaviour as Iterm2.
- Loading branch information