docs: def _normalizeCursor(self, x, y):
          """return the normalized the cursor position."""
          width, height = self.get_size()
          assert width != 0 and height != 0, 'can not print on a console with a width or height of zero'
          while x >= width:
              x -= width
              y += 1
          while y >= height:
              if self._scrollMode == 'scroll':
                  y -= 1
                  self.scroll(0, -1)
              elif self._scrollMode == 'error':
                  # reset the cursor on error
                  self._cursor = (0, 0)
                  raise TDLError('Cursor has reached the end of the console')
          return (x, y)