instance method IO#winsize

winsize -> [Integer, Integer][permalink][rdoc] [added by io/console]

端末のサイズを [rows, columns] で返します。