From 1b63fa10960d99078de9a3618ee76dcd5013f6d0 Mon Sep 17 00:00:00 2001 From: Jeremiah Senkpiel Date: Wed, 21 Dec 2016 15:39:54 -0500 Subject: [PATCH] tty: remove NODE_TTY_UNSAFE_ASYNC Nothing but trouble can ever come from it. PR-URL: https://github.com/nodejs/node/pull/12057 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Colin Ihrig --- doc/api/cli.md | 10 ---------- doc/node.1 | 7 ------- lib/tty.js | 2 +- 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 5e6390335b..a24aa5ee80 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -393,16 +393,6 @@ Path to the file used to store the persistent REPL history. The default path is to an empty string (`""` or `" "`) disables persistent REPL history. -### `NODE_TTY_UNSAFE_ASYNC=1` - - -When set to `1`, writes to `stdout` and `stderr` will be non-blocking and -asynchronous when outputting to a TTY on platforms which support async stdio. -Setting this will void any guarantee that stdio will not be interleaved or -dropped at program exit. **Use of this mode is not recommended.** - ### `NODE_EXTRA_CA_CERTS=file`