Autocompletetion for command ends with a space

This commit is contained in:
Daniel Xie 2017-06-02 20:46:43 -05:00
parent c4bb9a152e
commit 0c184f9ad3

@ -191,7 +191,7 @@ function tabCompletion(command, arg, allPossibilities, index=0) {
} else if (allPossibilities.length == 1) {
if (arg == "") {
//Autocomplete command
val = allPossibilities[0];
val = allPossibilities[0] + " ";
} else {
val = command + " " + allPossibilities[0];
}