reset prevValue on console on shown

This commit is contained in:
Shin'ya Ueoka 2017-10-17 21:07:41 +09:00
parent 33a97a0e8c
commit c143cf070e

View file

@ -107,6 +107,7 @@ export default class ConsoleComponent {
command.style.display = 'block'; command.style.display = 'block';
input.value = text; input.value = text;
input.focus(); input.focus();
this.prevValue = '';
} }
hideCommand() { hideCommand() {