Skip to content

Conversation

@Jianchi-Chen
Copy link

This PR addresses Issue #24 by improving the readability of file paths printed in interactive mode on Windows.

This change strips the prefix when displaying the path via PostExitAction::PrintPath, ensuring a clean and intuitive output.

  • Note: Although the diff shows 44 lines changed, only 2 lines were functionally modified. The rest are due to auto-formatting for consistency.

Happy to revise based on feedback!

@Jianchi-Chen
Copy link
Author

Updated the PR: now the code only strips the \\?\ prefix when the path length is <= 260.
This avoids potential issues when copying long paths, while still keeping the output clean for normal cases.

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.

1 participant