diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-05 18:00:57 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-05 18:15:24 +0900 |
commit | c507f7febf0d8827dafcc6fd543678af447c056c (patch) | |
tree | 6f8b8667f835bfb7e778cc571d8869cb5903a08a /src/console | |
parent | e436b98808a324bdf825b521802c16b3fbf774f5 (diff) |
reset completion
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/console.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/console/console.js b/src/console/console.js index 93b7297..c32eca0 100644 --- a/src/console/console.js +++ b/src/console/console.js @@ -111,6 +111,11 @@ const showCommand = (text) => { let input = window.document.querySelector('#vimvixen-console-command-input'); input.value = text; input.focus(); + + completion = null; + let container = window.document.querySelector('#vimvixen-console-completion'); + container.innerHTML = ''; + messages.send(parent, keyupMessage(input)); } const showError = (text) => { |