class Byebug::LocalInterface

def readline(prompt, hist)

def readline(prompt, hist)
  line = Readline.readline(prompt, false)
rescue Interrupt
  puts('^C')
  retry
ensure
  save_history(line) if hist
end