Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5ce1089

Browse filesBrowse 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
Copy full SHA for 5ce1089

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/readline.md‎

Copy file name to clipboardExpand all lines: doc/api/readline.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.