diff options
author | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2020-09-14 18:09:13 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-10-01 16:19:12 +0300 |
commit | ecf5060a42a5cd073ed4200e80afae1a79178bba (patch) | |
tree | 75f774ee55e85607f285c58ac535a5c3bf709dd7 /doc/api/tty.md | |
parent | 726143e683738b0e60580bdc247e6cfa60a0783a (diff) |
doc: use .md extension for internal links
This helps catch broken links as part of the test suite. This also
improves the user experience when browsing the markdown files.
PR-URL: https://github.com/nodejs/node/pull/35191
Fixes: https://github.com/nodejs/node/issues/35189
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/tty.md')
-rw-r--r-- | doc/api/tty.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/tty.md b/doc/api/tty.md index f4a83c290a3..a757b5b3703 100644 --- a/doc/api/tty.md +++ b/doc/api/tty.md @@ -211,10 +211,10 @@ added: v0.7.7 * Returns: {number[]} -`writeStream.getWindowSize()` returns the size of the [TTY](tty.html) +`writeStream.getWindowSize()` returns the size of the [TTY](tty.md) corresponding to this `WriteStream`. The array is of the type `[numColumns, numRows]` where `numColumns` and `numRows` represent the number -of columns and rows in the corresponding [TTY](tty.html). +of columns and rows in the corresponding [TTY](tty.md). ### `writeStream.hasColors([count][, env])` <!-- YAML @@ -293,7 +293,7 @@ The `tty.isatty()` method returns `true` if the given `fd` is associated with a TTY and `false` if it is not, including whenever `fd` is not a non-negative integer. -[`process.stderr`]: process.html#process_process_stderr -[`process.stdin`]: process.html#process_process_stdin -[`process.stdout`]: process.html#process_process_stdout +[`process.stderr`]: process.md#process_process_stderr +[`process.stdin`]: process.md#process_process_stdin +[`process.stdout`]: process.md#process_process_stdout [`writeStream.getColorDepth()`]: #tty_writestream_getcolordepth_env |