class IRB::ColorPrinter

def pp(obj, out = $>, width = screen_width)

def pp(obj, out = $>, width = screen_width)
  q = ColorPrinter.new(out, width)
  q.guard_inspect_key {q.pp obj}
  q.flush
  out << "\n"
end