diff options
author | Rich Trott <rtrott@gmail.com> | 2020-06-21 02:46:33 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-06-23 05:29:18 +0300 |
commit | db52ae8b7f9bc458b3ab47369fc828e273efd0df (patch) | |
tree | 6781861cd6b0474897fd159b8270a29027cd5b46 /doc/api/readline.md | |
parent | a8904e8eeea3ca513de588424bb99f6a7cdfc598 (diff) |
doc: use a single space between sentences
We mostly have a single space between the punctuation that ends a
sentence and the start of the next sentence. Change instances with two
spaces to one.
PR-URL: https://github.com/nodejs/node/pull/33995
Reviewed-By: Matheus Marchini <mat@mmarchini.me>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/readline.md')
-rw-r--r-- | doc/api/readline.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/readline.md b/doc/api/readline.md index e20454a6cb3..a737e4bd24d 100644 --- a/doc/api/readline.md +++ b/doc/api/readline.md @@ -365,7 +365,7 @@ The current input data being processed by node. This can be used when collecting input from a TTY stream to retrieve the current value that has been processed thus far, prior to the `line` event -being emitted. Once the `line` event has been emitted, this property will +being emitted. Once the `line` event has been emitted, this property will be an empty string. Be aware that modifying the value during the instance runtime may have @@ -399,7 +399,7 @@ added: v0.1.98 The cursor position relative to `rl.line`. This will track where the current cursor lands in the input string, when -reading input from a TTY stream. The position of cursor determines the +reading input from a TTY stream. The position of cursor determines the portion of the input string that will be modified as input is processed, as well as the column where the terminal caret will be rendered. @@ -415,7 +415,7 @@ added: * `cols` {number} the screen column the cursor currently lands on Returns the real position of the cursor in relation to the input -prompt + string. Long input (wrapping) strings, as well as multiple +prompt + string. Long input (wrapping) strings, as well as multiple line prompts are included in the calculations. ## `readline.clearLine(stream, dir[, callback])` |