class Byebug::RemoteInterface


Interface class for remote use of byebug.

def close

def close
  output.close
rescue IOError
  errmsg('Error closing the interface...')
end

def confirm(prompt)

def confirm(prompt)
  super("CONFIRM #{prompt}")
end

def initialize(socket)

def initialize(socket)
  super()
  @input, @output, @error = socket, socket, socket
end

def read_command(prompt)

def read_command(prompt)
  super("PROMPT #{prompt}")
end

def readline(prompt)

def readline(prompt)
  output.puts(prompt)
  result = input.gets
  fail IOError unless result
  result.chomp
end