Repository navigation
Fix markdown file paths from WSL - #456
Merged
Merged
Conversation
amirlehmam
added a commit
that referenced
this pull request
Nov 15, 2026
…h fix (#456) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Running
wmux markdown <file>orwmux markdown set <id> --file <path>in a WSL pane did not open the file. The CLI resolved the path inside WSL (e.g./home/user/README.md) and sent it as is, and the Windows side resolved it again asC:\home\user\README.md, which does not exist.Changes
wslpath -wbefore sending it, so distro files become\\wsl.localhost\<distro>\…and/mnt/<drive>/…becomes a drive path.C:\…,C:/…, UNC) through unchanged.wslpathfails instead of sending a path Windows cannot open.--remotekeep their existing path resolution.Testing
npm run typecheckpassed.git diff --checkpassed.wmux markdown ./README.mdopens the file.