We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dbf827 commit 9599faaCopy full SHA for 9599faa
doc/api/tty.md
@@ -88,6 +88,15 @@ process.stdout.on('resize', () => {
88
});
89
```
90
91
+*Note*: On Windows resize events will be emitted only if stdin is unpaused
92
+(by a call to `resume()` or by adding a data listener) and in raw mode. It can
93
+also be triggered if a terminal control sequence that moves the cursor is
94
+written to the screen. Also, the resize event will only be signaled if the
95
+console screen buffer height was also changed. For example shrinking the
96
+console window height will not cause the resize event to be emitted. Increasing
97
+the console window height will only be registered when the new console window
98
+height is greater than the current console buffer size.
99
+
100
### writeStream.columns
101
<!-- YAML
102
added: v0.7.7
0 commit comments