code: def add_new_lines(long_phrase, line_min=None, tolerance=TOLERANCE):
      
      if line_min is None:
          line_min = math.floor(int(_get_window_columns()) / 2 - 15)
  
      if long_phrase is None:
          return long_phrase
      line_min = int(line_min)
      nl_loc = []
      skip = False
      index = 0
      if len(long_phrase) > line_min:
  
          for _ in range(int(math.floor(len(long_phrase) / line_min))):
              previous = index
              index += line_min
              if skip:
                  index += 1
                  skip = False
              while index < len(long_phrase) and \
                      not long_phrase[index].isspace() and \
                      index < tolerance + previous + line_min:
                  index += 1
              if index < len(long_phrase):
                  if long_phrase[index].isspace():
                      index += 1
                      skip = True
                  nl_loc.append(index)
  
      counter = 0
      for loc in nl_loc:
          long_phrase = long_phrase[:loc + counter] + '\n' + long_phrase[loc + counter:]
          counter += 1
      return long_phrase + "\n"
docs: not everything fits on the screen, based on the size, add newlines