# File lib/highline.rb, line 499
  def output_rows
    return 24 unless @output.tty?
    terminal_size.last
  rescue
    return 24
  end