class Tryouts::CLI::TTYStatusDisplay

def write_status_content(state)

def write_status_content(state)
  return unless @available
  # Line 1: Empty separator line
  @io.print "\n"
  # Line 2: Current progress
  if state.current_file
    current_info  = "Running: #{state.current_file}"
    current_info += " → #{state.current_test}" if state.current_test
    @io.print current_info
  else
    @io.print 'Ready'
  end
  @io.print "\n"
  # Line 3: Test counts
  parts = []
  parts << @pastel.green("#{state.passed} passed") if state.passed > 0
  parts << @pastel.red("#{state.failed} failed") if state.failed > 0
  parts << @pastel.yellow("#{state.errors} errors") if state.errors > 0
  if parts.any?
    @io.print "Tests: #{parts.join(', ')}"
  else
    @io.print 'Tests: 0 run'
  end
  @io.print "\n"
  # Line 4: File progress
  files_info  = "Files: #{state.files_completed}"
  files_info += "/#{state.total_files}" if state.total_files > 0
  files_info += ' completed'
  @io.print files_info
  @io.print "\n"
  # Line 5: Timing
  @io.print "Time: #{format_timing(state.elapsed_time)}"
end