fix
这个提交存在于:
父节点
8db779388f
当前提交
ccc6a31dde
共有 2 个文件被更改,包括 2 次插入 和 2 次删除
|
@ -130,7 +130,7 @@ const complete = (line, settings) => {
|
||||||
let name = words[0];
|
let name = words[0];
|
||||||
if (words.length === 1) {
|
if (words.length === 1) {
|
||||||
let items = completeCommands(name);
|
let items = completeCommands(name);
|
||||||
if (items.length === 0) {
|
if (items.length === 0) {
|
||||||
return Promise.resolve([]);
|
return Promise.resolve([]);
|
||||||
}
|
}
|
||||||
return Promise.resolve([
|
return Promise.resolve([
|
||||||
|
|
|
@ -13,7 +13,7 @@ const defaultState = {
|
||||||
const nextSelection = (state) => {
|
const nextSelection = (state) => {
|
||||||
if (state.completions.length === 0) {
|
if (state.completions.length === 0) {
|
||||||
return [-1, -1];
|
return [-1, -1];
|
||||||
};
|
}
|
||||||
if (state.groupSelection < 0) {
|
if (state.groupSelection < 0) {
|
||||||
return [0, 0];
|
return [0, 0];
|
||||||
}
|
}
|
||||||
|
|
在新工单中引用