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 ce795ec commit 5ce1089Copy full SHA for 5ce1089
doc/api/readline.md
@@ -396,8 +396,8 @@ a `'resize'` event on the `output` if or when the columns ever change
396
397
### Use of the `completer` Function
398
399
-When called, the `completer` function is provided the current line entered by
400
-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:
401
402
* An Array with matching entries for the completion.
403
* The substring that was used for the matching.
0 commit comments