docs: def write(self, text):
          'Uses curses to print in the fanciest way possible.'
  
          # Add color to the terminal.
          if not self.no_color:
              text = self.colorize_text(text)
          else:
              pattern = re.compile('\<\<[A-Z]*?\>\>')
              text = pattern.sub('', text)
  
          text += '\n'
  
          self.buffer.write(text)
  
          return self