Change order of script output
The order of parameters for `--script' and without it was different, to keep things simple these should be the same.
This commit is contained in:
parent
cf50ebad50
commit
09f37ea2e1
1 changed files with 3 additions and 3 deletions
6
clark.js
6
clark.js
|
@ -148,9 +148,9 @@ function clark_complete(input, pos, conservative)
|
||||||
});
|
});
|
||||||
|
|
||||||
let c = { count: ret.length,
|
let c = { count: ret.length,
|
||||||
get_string: function (i) ret[i][0],
|
get_string: function (i) ret[i][1],
|
||||||
get_description: function (i) ret[i][1],
|
get_description: function (i) ret[i][2],
|
||||||
get_input_state: function (i) [ret[i][2]] };
|
get_input_state: function (i) [ret[i][0]] };
|
||||||
yield co_return(c);
|
yield co_return(c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue