mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-01 11:13:24 +00:00
fix: escape completion prefix if completions are escaped
fixes an issue with duplicated characters when completing escaped paths
This commit is contained in:
parent
06102ebdae
commit
b395b70ecd
@ -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…
x
Reference in New Issue
Block a user