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 <me@silverwind.io>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
  • Loading branch information
Trott authored and targos committed Nov 3, 2020
1 parent c0a4fac commit afbe23d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/readline.md
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 afbe23d

Please sign in to comment.