Skip to content

Commit 90f55cc

Browse files
committed
Merge pull request #5 from Thimoteus/master
fixed completion bug
2 parents 98435d2 + cde8bc2 commit 90f55cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Node/ReadLine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ exports.createInterfaceImpl = function(options) {
1111
output: options.output,
1212
completer: options.completer && function(line) {
1313
var res = options.completer(line)();
14-
return [res.completions, res.suffix];
14+
return [res.completions, res.matched];
1515
},
1616
terminal: options.terminal,
1717
historySize: options.historySize

0 commit comments

Comments
 (0)