Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix when match.translate_slashes is "off".
clink.filematches() always converted forward slashes to backslashes, related to #57. But it shouldn't convert slashes there, and also it wasn't correct to treat `../foo` as a relative path anyway, since CMD actually interprets `foo/bar` as `foo /bar` -- the slash is interpreted as a switch character, not as a path separator. Additionally, this change also makes "off" mode preserve typed forward slashes and backslashes (e.g. completing `/foo/` became `/foo\bar\`, but the expected behavior is really `/foo/bar\`).
- Loading branch information