This commit is contained in:
Shin'ya Ueoka 2017-11-10 21:31:40 +09:00
parent e021504356
commit 6db2458929

View file

@ -36,6 +36,8 @@ export default class ConsoleComponent {
case KeyboardEvent.DOM_VK_ESCAPE:
return this.hideCommand();
case KeyboardEvent.DOM_VK_RETURN:
e.stopPropagation();
e.preventDefault();
return this.onEntered(e.target.value);
case KeyboardEvent.DOM_VK_TAB:
if (e.shiftKey) {