doc: use kbd element in readline doc prose

The kbd element has already been added in the keybindings table, but we
missed it in one line in the prose.

PR-URL: https://github.com/nodejs/node/pull/35737
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
This commit is contained in:
Rich Trott 2020-10-21 05:02:25 -07:00
parent e2d22060ab
commit dd43715caa

View File

@ -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.