Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "Open in Terminal" from Files when Terminal instance already running #776

Closed
wants to merge 1 commit into from

Conversation

jeremypw
Copy link
Collaborator

Fixes #775

The exact reason is uncertain but it appears that passing the working directory via the platform-data fails in some cases. The solution suggested here does not remove the "working-directory" commandline option after setting the CWD and uses that to determine where to open the tab when it is available, falling back to the CWD when it is not.

The sanitization of the uri no longer escapes the uri as this is not needed (and can cause problems)

@jeremypw
Copy link
Collaborator Author

Closed in favour of #777. It appears it was the escaping of the uri of the working directory alone that was causing the problem.

@jeremypw jeremypw closed this Aug 31, 2024
@jeremypw jeremypw deleted the jeremypw/fix-openterminalhere branch August 31, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Open in Terminal" menu option in Files does not work correctly when uri contains spaces
1 participant