- Version: 8.0.0 rc1
- Platform: Windows 7 x64
- Subsystem: tty
Is this event supported on Windows?
The script with this code from the doc exits immediately without launching the event loop. I've tried to modify it like this:
process.stdout.on('resize', () => {
console.log('screen size has changed!');
console.log(`${process.stdout.columns}x${process.stdout.rows}`);
});
setInterval(()=>{}, 1000);
and then to resize the console window manually or via the console window properties, but the event handler never fired.
Is this event supported on Windows?
The script with this code from the doc exits immediately without launching the event loop. I've tried to modify it like this:
and then to resize the console window manually or via the console window properties, but the event handler never fired.