Skip to content

Commit

Permalink
doc: fixes as per review comments
Browse files Browse the repository at this point in the history
1. typo fix
2. adding new lines

Closes: nodejs#20814
  • Loading branch information
shobhitchittora committed May 24, 2018
1 parent 60165b7 commit c39f8b6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
10 changes: 5 additions & 5 deletions doc/api/readline.md
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ rl.on('line', (line) => {
</tr>
<tr>
<td><code>ctrl+c</code></td>
<td>emits SIGINT</td>
<td>emit SIGINT</td>
</tr>
<tr>
<td><code>ctrl+h</code></td>
Expand All @@ -565,11 +565,11 @@ rl.on('line', (line) => {
</tr>
<tr>
<td><code>ctrl+a</code></td>
<td>goto start of line</td>
<td>go to start of line</td>
</tr>
<tr>
<td><code>ctrl+e</code></td>
<td>goto to end of line</td>
<td>go to to end of line</td>
</tr>
<tr>
<td><code>ctrl+b</code></td>
Expand All @@ -589,7 +589,7 @@ rl.on('line', (line) => {
</tr>
<tr>
<td><code>ctrl+p</code></td>
<td>prev history item </td>
<td>previous history item </td>
</tr>
<tr>
<td><code>ctrl+z</code></td>
Expand Down Expand Up @@ -635,6 +635,6 @@ rl.on('line', (line) => {
[`process.stdout`]: process.html#process_process_stdout
[Readable]: stream.html#stream_readable_streams
[TTY]: tty.html
[TTY keybindings]: #readline_tty_keybindings
[Writable]: stream.html#stream_writable_streams
[reading files]: #readline_example_read_file_stream_line_by_line
[`TTY keybindings`]: #readline_tty_keybindings
5 changes: 3 additions & 2 deletions doc/api/repl.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The following key combinations in the REPL have these special effects:
variables. When pressed while entering other input, displays relevant
autocompletion options.

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

### Default Evaluation

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

2 changes: 1 addition & 1 deletion doc/api/tty.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,4 @@ integer.
[`net.Socket`]: net.html#net_class_net_socket
[`process.stdin`]: process.html#process_process_stdin
[`process.stdout`]: process.html#process_process_stdout
[`process.stderr`]: process.html#process_process_stderr
[`process.stderr`]: process.html#process_process_stderr

0 comments on commit c39f8b6

Please sign in to comment.