Skip to content

Commit 5ce1089

Browse files
vsemozhetbytMylesBorins
authored andcommitted
doc: fix an unclear wording in readline.md
PR-URL: #12605 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent ce795ec commit 5ce1089

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/readline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,8 @@ a `'resize'` event on the `output` if or when the columns ever change
396396

397397
### Use of the `completer` Function
398398

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:
399+
The `completer` function takes the current line entered by the user
400+
as an argument, and returns an Array with 2 entries:
401401

402402
* An Array with matching entries for the completion.
403403
* The substring that was used for the matching.

0 commit comments

Comments
 (0)