code: def display(self, codes=[], fg=None, bg=None):
          
          codes, fg, bg = Magic.displayformat(codes, fg, bg)
          self.stream.write(Magic.display(codes, fg, bg))
          self.flush()
docs: Displays the codes using ANSI escapes