From fd3d5c7e2806f2cf1c68369c13dfe26f3bb29864 Mon Sep 17 00:00:00 2001 From: Hackzzila Date: Tue, 24 Apr 2018 21:14:12 -0500 Subject: [PATCH 1/2] doc: fix net.Socket link inconsistencies --- doc/api/tty.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/tty.md b/doc/api/tty.md index 193005c017dda7..2305d8e2d768ca 100644 --- a/doc/api/tty.md +++ b/doc/api/tty.md @@ -77,7 +77,7 @@ Note that `CTRL`+`C` will no longer cause a `SIGINT` when in this mode. added: v0.5.8 --> -The `tty.WriteStream` class is a subclass of `net.Socket` that represents the +The `tty.WriteStream` class is a subclass of [`net.Socket`][] that represents the writable side of a TTY. In normal circumstances, [`process.stdout`][] and [`process.stderr`][] will be the only `tty.WriteStream` instances created for a Node.js process and there should be no reason to create additional instances. From 2a0aae066c4043ddb9266303eadc45f19b8cbb29 Mon Sep 17 00:00:00 2001 From: Zachary Vacura Date: Tue, 24 Apr 2018 21:44:50 -0500 Subject: [PATCH 2/2] doc: rewrap --- doc/api/tty.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/tty.md b/doc/api/tty.md index 2305d8e2d768ca..f8bc4feec3e86d 100644 --- a/doc/api/tty.md +++ b/doc/api/tty.md @@ -77,8 +77,8 @@ Note that `CTRL`+`C` will no longer cause a `SIGINT` when in this mode. added: v0.5.8 --> -The `tty.WriteStream` class is a subclass of [`net.Socket`][] that represents the -writable side of a TTY. In normal circumstances, [`process.stdout`][] and +The `tty.WriteStream` class is a subclass of [`net.Socket`][] that represents +the writable side of a TTY. In normal circumstances, [`process.stdout`][] and [`process.stderr`][] will be the only `tty.WriteStream` instances created for a Node.js process and there should be no reason to create additional instances.