Add allowLooping opt for tab completion. Make peeking work.

This commit is contained in:
Kegan Dougal 2015-12-21 17:16:49 +00:00
parent ab0a277d94
commit 4e79c3c4c8
2 changed files with 27 additions and 18 deletions

View file

@ -91,6 +91,7 @@ module.exports = React.createClass({
this.tabComplete = new TabComplete({
startingWordSuffix: ": ",
wordSuffix: " ",
allowLooping: false,
onStateChange: (isCompleting) => {
this.forceUpdate();
}