Skip to content

Commit

Permalink
doc, win: remove note about resize
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bzoz authored and MylesBorins committed Nov 16, 2017
1 parent 632e166 commit 5389ec6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions doc/api/tty.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<!-- YAML
added: v0.7.7
Expand Down

0 comments on commit 5389ec6

Please sign in to comment.