From 33021ba2b05bf27a569016914ec0095758ec2a4c Mon Sep 17 00:00:00 2001 From: Bartosz Sosnowski Date: Thu, 26 Oct 2017 17:23:00 +0200 Subject: doc, win: remove note about resize Libuv 1.15.0 improved console resize detection on Windows. This note is no longer needed. PR-URL: https://github.com/nodejs/node/pull/16320 Reviewed-By: Colin Ihrig Reviewed-By: Benjamin Gruenbaum Reviewed-By: Jeremiah Senkpiel Reviewed-By: Refael Ackermann Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- doc/api/tty.md | 9 --------- 1 file changed, 9 deletions(-) (limited to 'doc/api/tty.md') diff --git a/doc/api/tty.md b/doc/api/tty.md index baa31ac8f0..497f53509d 100644 --- a/doc/api/tty.md +++ b/doc/api/tty.md @@ -90,15 +90,6 @@ process.stdout.on('resize', () => { }); ``` -*Note*: On Windows resize events will be emitted only if stdin is unpaused -(by a call to `resume()` or by adding a data listener) and in raw mode. It can -also be triggered if a terminal control sequence that moves the cursor is -written to the screen. Also, the resize event will only be signaled if the -console screen buffer height was also changed. For example shrinking the -console window height will not cause the resize event to be emitted. Increasing -the console window height will only be registered when the new console window -height is greater than the current console buffer size. - ### writeStream.columns