aboutsummaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-17 21:07:41 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-17 21:07:41 +0900
commitc143cf070e6d036e5859594f1f38adf4adf16a05 (patch)
tree8991af5497126c880047bd45d3d6024794288d2d /src/console
parent33a97a0e8c18c099b23cd50a832242985837edca (diff)
reset prevValue on console on shown
Diffstat (limited to 'src/console')
-rw-r--r--src/console/components/console.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/console/components/console.js b/src/console/components/console.js
index 93802f8..82ec467 100644
--- a/src/console/components/console.js
+++ b/src/console/components/console.js
@@ -107,6 +107,7 @@ export default class ConsoleComponent {
command.style.display = 'block';
input.value = text;
input.focus();
+ this.prevValue = '';
}
hideCommand() {