module

Term::Terminfo::Size

Constants

DEFAULT_HEIGHT = 24
DEFAULT_WIDTH = 80

Instance methods

get(io = STDOUT) : NamedTuple(width: Int32, height: Int32)

Get terminal size using multiple detection methods

Source