fix: escape completion prefix if completions are escaped

fixes an issue with duplicated characters when
completing escaped paths
pull/217/head
TorchedSammy 2 months ago
parent 06102ebdae
commit b395b70ecd
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

@ -161,6 +161,9 @@ func matchPath(query string) ([]string, string) {
entries = append(entries, entry)
}
}
if !strings.HasPrefix(oldQuery, "\"") {
baseName = escapeFilename(baseName)
}
return entries, baseName
}

Loading…
Cancel
Save