class Byebug::ScriptInterface

def close

def close
  @file.close
end

def confirm(prompt)

def confirm(prompt)
  'y'
end

def finalize

def finalize
end

def initialize(file, out, verbose=false)

def initialize(file, out, verbose=false)
  super()
  @command_queue = []
  @file = file.respond_to?(:gets) ? file : open(file)
  @out = out
  @verbose = verbose
  @history_save = false
  @history_length = 256
  @histfile = ''
end

def print(*args)

def print(*args)
  @out.printf(*args)
end

def read_command(prompt)

def read_command(prompt)
  while result = @file.gets
    puts "# #{result}" if @verbose
    next if result =~ /^\s*#/
    next if result.strip.empty?
    return result.chomp
  end
end

def readline_support?

def readline_support?
  false
end