docs: def cursor(self, visible=None, size=None):
          u'''Set cursor on or off.'''
          info = CONSOLE_CURSOR_INFO()
          if self.GetConsoleCursorInfo(self.hout, byref(info)):
              if visible is not None:
                  info.bVisible = visible
              if size is not None:
                  info.dwSize = size
              self.SetConsoleCursorInfo(self.hout, byref(info))