减少历史命令的渲染行数

pull/306/head
ChenX 5 years ago
parent 80576c9b14
commit f048f3de72

@ -39,10 +39,8 @@ export class CommandStore
}); });
this.m_promptKeyIndex++; this.m_promptKeyIndex++;
if (this.promptList.length > 100) if (this.promptList.length > 50)
{ this.promptList.splice(0, 20);
this.promptList.splice(0, 1);
}
} }
get cmdList() get cmdList()

Loading…
Cancel
Save