class HighLine
def output_rows
determined.
Returns the number of rows for the console, or a default if they cannot be
def output_rows return 24 unless @output.tty? terminal.terminal_size.last rescue NoMethodError return 24 end
def output_rows return 24 unless @output.tty? terminal.terminal_size.last rescue NoMethodError return 24 end