We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da01ff7 commit 45facc8Copy full SHA for 45facc8
doc/api/readline.md
@@ -403,8 +403,8 @@ a `'resize'` event on the `output` if or when the columns ever change
403
404
### Use of the `completer` Function
405
406
-When called, the `completer` function is provided the current line entered by
407
-the user, and is expected to return an Array with 2 entries:
+The `completer` function takes the current line entered by the user
+as an argument, and returns an Array with 2 entries:
408
409
* An Array with matching entries for the completion.
410
* The substring that was used for the matching.
0 commit comments