autocomplete

This commit is contained in:
Olivier Gagnon
2021-10-14 22:36:28 -04:00
parent 3fddb3c9f2
commit 4603216aa0
5 changed files with 32 additions and 19 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ export function tabCompletion(
} else if (allPossibilities.length === 1) {
if (arg === "") {
//Autocomplete command
val = allPossibilities[0] + " ";
val = allPossibilities[0];
} else {
val = command + " " + allPossibilities[0];
}