Skip to content

Commit

Permalink
doc: use kbd element in readline doc prose
Browse files Browse the repository at this point in the history
The kbd element has already been added in the keybindings table, but we
missed it in one line in the prose.

PR-URL: #35737
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
  • Loading branch information
Trott authored and BethGriggs committed Dec 8, 2020
1 parent 92da13f commit a3a0aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/readline.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ added: v0.1.98

The `'line'` event is emitted whenever the `input` stream receives an
end-of-line input (`\n`, `\r`, or `\r\n`). This usually occurs when the user
presses the `<Enter>`, or `<Return>` keys.
presses <kbd>Enter</kbd> or <kbd>Return</kbd>.

The listener function is called with a string containing the single line of
received input.
Expand Down

0 comments on commit a3a0aca

Please sign in to comment.