mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 07:02:26 +01:00
Merge pull request #46 from danielyxie/dev
Autocompletetion for command ends with a space
This commit is contained in:
commit
ea9a7ad14e
@ -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