aboutsummaryrefslogtreecommitdiff
path: root/src/console/components/console.jsx
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-02-15 20:37:02 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-02-15 21:16:34 +0900
commitbc327e87a816beb6834a1d79c95c94ba34651ab3 (patch)
tree86cf0e6ac9841c512034f8c1941285afc1102094 /src/console/components/console.jsx
parentf43a2d2a9eda2a56709dca59bd003beec889d557 (diff)
Fix Completion interface and add test
Diffstat (limited to 'src/console/components/console.jsx')
-rw-r--r--src/console/components/console.jsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/console/components/console.jsx b/src/console/components/console.jsx
index f8213db..7994f78 100644
--- a/src/console/components/console.jsx
+++ b/src/console/components/console.jsx
@@ -107,7 +107,11 @@ class ConsoleComponent extends Component {
case 'command':
case 'find':
return <div className='vimvixen-console-command-wrapper'>
- <Completion size={COMPLETION_MAX_ITEMS} />
+ <Completion
+ size={COMPLETION_MAX_ITEMS}
+ completions={this.props.completions}
+ select={this.props.select}
+ />
<Input
ref={(c) => { this.input = c; }}
mode={this.props.mode}