mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
doc: fix an unclear wording in readline.md
PR-URL: https://github.com/nodejs/node/pull/12605 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
ce795ecf2b
commit
5ce108955d
1 file changed
+2
-2
+2
-2
@@ -396,8 +396,8 @@ a `'resize'` event on the `output` if or when the columns ever change
|
||||
|
||||
### Use of the `completer` Function
|
||||
|
||||
When called, the `completer` function is provided the current line entered by
|
||||
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:
|
||||
|
||||
* An Array with matching entries for the completion.
|
||||
* The substring that was used for the matching.
|
||||
|
||||
Reference in new issue
Block a user