Method: Colsole.terminal_width

Defined in:
lib/colsole.rb

.terminal_widthObject

Returns the columns part of the ‘#terminal_size`



78
79
80
# File 'lib/colsole.rb', line 78

def terminal_width
  terminal_size[0]
end