Skip to content

Commit c39f8b6

Browse files
doc: fixes as per review comments
1. typo fix 2. adding new lines Closes: nodejs#20814
1 parent 60165b7 commit c39f8b6

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

doc/api/readline.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ rl.on('line', (line) => {
545545
</tr>
546546
<tr>
547547
<td><code>ctrl+c</code></td>
548-
<td>emits SIGINT</td>
548+
<td>emit SIGINT</td>
549549
</tr>
550550
<tr>
551551
<td><code>ctrl+h</code></td>
@@ -565,11 +565,11 @@ rl.on('line', (line) => {
565565
</tr>
566566
<tr>
567567
<td><code>ctrl+a</code></td>
568-
<td>goto start of line</td>
568+
<td>go to start of line</td>
569569
</tr>
570570
<tr>
571571
<td><code>ctrl+e</code></td>
572-
<td>goto to end of line</td>
572+
<td>go to to end of line</td>
573573
</tr>
574574
<tr>
575575
<td><code>ctrl+b</code></td>
@@ -589,7 +589,7 @@ rl.on('line', (line) => {
589589
</tr>
590590
<tr>
591591
<td><code>ctrl+p</code></td>
592-
<td>prev history item </td>
592+
<td>previous history item </td>
593593
</tr>
594594
<tr>
595595
<td><code>ctrl+z</code></td>
@@ -635,6 +635,6 @@ rl.on('line', (line) => {
635635
[`process.stdout`]: process.html#process_process_stdout
636636
[Readable]: stream.html#stream_readable_streams
637637
[TTY]: tty.html
638+
[TTY keybindings]: #readline_tty_keybindings
638639
[Writable]: stream.html#stream_writable_streams
639640
[reading files]: #readline_example_read_file_stream_line_by_line
640-
[`TTY keybindings`]: #readline_tty_keybindings

doc/api/repl.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The following key combinations in the REPL have these special effects:
6767
variables. When pressed while entering other input, displays relevant
6868
autocompletion options.
6969

70-
For a full list of special keys, refer [`TTY keybindings`][].
70+
For a full list of special keys, refer to [TTY keybindings][].
7171

7272
### Default Evaluation
7373

@@ -634,6 +634,7 @@ For an example of running a REPL instance over [curl(1)][], see:
634634
[`readline.InterfaceCompleter`]: readline.html#readline_use_of_the_completer_function
635635
[`readline.Interface`]: readline.html#readline_class_interface
636636
[`util.inspect()`]: util.html#util_util_inspect_object_options
637+
[TTY keybindings]: readline.html#readline_tty_keybindings
637638
[curl(1)]: https://curl.haxx.se/docs/manpage.html
638639
[stream]: stream.html
639-
[`TTY keybindings`]: readline.html#readline_tty_keybindings
640+

doc/api/tty.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,4 @@ integer.
161161
[`net.Socket`]: net.html#net_class_net_socket
162162
[`process.stdin`]: process.html#process_process_stdin
163163
[`process.stdout`]: process.html#process_process_stdout
164-
[`process.stderr`]: process.html#process_process_stderr
164+
[`process.stderr`]: process.html#process_process_stderr

0 commit comments

Comments
 (0)