Browse Source

Autocomplete parts of commands and names

master
HimbeerserverDE 1 year ago
parent
commit
132293e6b1
No known key found for this signature in database
GPG Key ID: 1A651504791E6A8B
  1. 2
      console.go

2
console.go

@ -45,6 +45,8 @@ func autoComplete(all []string, current string) string {
} else {
return all[0]
}
} else if strings.HasPrefix(v, current) {
return v
}
}
} else if len(all) >= 1 {

Loading…
Cancel
Save