method

winsize

v1_9_3_392 - Show latest stable - Class: IO
winsize()
public

Returns console size.

You must require ‘io/console’ to use this method.