docs: def colour_diff(diff_lines):
      """ colour_diff(diff_lines : lst)
  
      Print diff text to terminal in color
      """
  
      try:
          import colorama
      except ImportError:
          # colorama is not available, print plain diff
          print(''.join(list(diff_lines)))
          return
  
      colorama.init()
  
      def p_green(text):
          """ Print added line in green """
          print(colorama.Fore.GREEN + text + colorama.Fore.WHITE, end='')
  
      def p_yellow(text):
          """ Print diff section header in yellow """
          print(colorama.Fore.YELLOW + text + colorama.Fore.WHITE, end='')
  
      def p_red(text):
          """ Print removed line in red """
          print(colorama.Fore.RED + text + colorama.Fore.WHITE, end='')
      section = re.compile('@@\s+-\d\d,\d\d\s\+\d\d,\d\d\s+@@')
      for line in diff_lines:
          if line.startswith('-'):
              p_red(line)
          elif line.startswith('+'):
              p_green(line)
          elif section.search(line):
              p_yellow(line)
          else:
              print(line, end='')