mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
Add a trailing space when completing file name.
This commit is contained in:
parent
8a18ca4fa1
commit
4f74be8c1e
|
@ -156,6 +156,8 @@ func complArgInner(head string, ed *Editor, formHead bool) []*candidate {
|
|||
|
||||
if info.IsDir() {
|
||||
name += "/"
|
||||
} else {
|
||||
name += " "
|
||||
}
|
||||
|
||||
cands = append(cands, &candidate{
|
||||
|
|
Loading…
Reference in New Issue
Block a user