Skip to content

Commit fe5d453

Browse files
bzozgibfahn
authored andcommitted
doc, win: remove note about resize
Libuv 1.15.0 improved console resize detection on Windows. This note is no longer needed. PR-URL: #16320 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 2c2b658 commit fe5d453

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

doc/api/tty.md

-9
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,6 @@ process.stdout.on('resize', () => {
9090
});
9191
```
9292

93-
*Note*: On Windows resize events will be emitted only if stdin is unpaused
94-
(by a call to `resume()` or by adding a data listener) and in raw mode. It can
95-
also be triggered if a terminal control sequence that moves the cursor is
96-
written to the screen. Also, the resize event will only be signaled if the
97-
console screen buffer height was also changed. For example shrinking the
98-
console window height will not cause the resize event to be emitted. Increasing
99-
the console window height will only be registered when the new console window
100-
height is greater than the current console buffer size.
101-
10293
### writeStream.columns
10394
<!-- YAML
10495
added: v0.7.7

0 commit comments

Comments
 (0)