diff options
Diffstat (limited to 'src/console/console-frame.js')
-rw-r--r-- | src/console/console-frame.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/console/console-frame.js b/src/console/console-frame.js index ea9f523..e6bf3f5 100644 --- a/src/console/console-frame.js +++ b/src/console/console-frame.js @@ -51,4 +51,11 @@ export default class ConsoleFrame { isErrorShown() { return this.element.style.display === 'block' && this.errorShown; } + + setCompletions(completions) { + messages.send(this.element.contentWindow, { + type: 'vimvixen.console.set.completions', + completions: completions + }); + } } |