LibC.signal Signal::INT.value, ->(s : Int32) { puts "CTRL-C handler here!" exit } Signal::INT.trap do puts "CTRL-C handler here!" exit end