class Cucumber::Cli::Main

def trap_interrupt

def trap_interrupt
  trap('INT') do
    exit!(1) if Cucumber.wants_to_quit
    Cucumber.wants_to_quit = true
    STDERR.puts "\nExiting... Interrupt again to exit immediately."
  end
end