mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 13:43:49 +01:00
Autocompletetion for command ends with a space
This commit is contained in:
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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user