Skip to content

Ctrl+s in interactive mode on Windows contains weird prefix #24

@bgreenwell

Description

@bgreenwell

In src/tui.rs, before starting the interactive session, the application calls the standard Rust function std::fs::canonicalize(). On Windows, this function's job is to create a fully resolved path. A side effect is that it often prepends the \\?\ prefix. This prefix turns it into a "verbatim path," which bypasses some legacy Windows path-length limits but is not user-friendly and looks strange. The application then uses this verbatim path internally, so when a user hits Ctrl+s to print the selected file, they get the path with the undesirable prefix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions