code: def ensure_newline(self):
          
          DECTCEM_SHOW = '\033[?25h'  # show cursor
          AT_END = DECTCEM_SHOW + '\n'
          if not self._cursor_at_newline:
              self.write(AT_END)
              self._cursor_at_newline = True
docs: use before any custom printing when using the progress iter to ensure
          your print statement starts on a new line instead of at the end of a
          progress line