class Byebug::LocalInterface

def with_repl_like_sigint

Other tags:
    Note: - Any external 'INT' traps are overriden during this method.
def with_repl_like_sigint
  orig_handler = trap("INT") { raise Interrupt }
  yield
rescue Interrupt
  puts("^C")
  retry
ensure
  trap("INT", orig_handler)
end