class Byebug::LocalInterface


Interface class for standard byebug use.

def close

def close
end

def confirm(prompt)

def confirm(prompt)
  readline(prompt, false)
end

def puts(*args)

def puts(*args)
  STDOUT.puts(*args)
end

def read_command(prompt)

def read_command(prompt)
  readline(prompt, true)
end

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