diff options
author | Rich Trott <rtrott@gmail.com> | 2020-10-21 15:02:25 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-10-26 13:33:34 +0300 |
commit | dd43715caaffcfe2dafddd3e792cc0fb2b7b9d20 (patch) | |
tree | 64a93f5c5d8205ac50dc59c4d84280da051079e9 | |
parent | e2d22060ab589b1202caad8499f4080676e1d35e (diff) |
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>
-rw-r--r-- | doc/api/readline.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/readline.md b/doc/api/readline.md index 13b93a28316..14b416b1e80 100644 --- a/doc/api/readline.md +++ b/doc/api/readline.md @@ -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. |