def rename(self, irc, msg, args, command_plugin, command, newName):
        if not command_plugin.isCommand(command):
            what = 'command in the %s plugin' % command_plugin.name()
            irc.errorInvalid(what, command)
        if hasattr(command_plugin, newName):
            irc.error('The %s plugin already has an attribute named %s.' %
                      (command_plugin, newName))
            return
        plugin.registerRename(command_plugin.name(), command, newName)
        plugin.renameCommand(command_plugin, command, newName)
        irc.replySuccess()
Set the screen size (within max size).
dataset/ETHPy150Open ProgVal/Limnoria/plugins/Owner/plugin.py/Owner.rename--crossover with--dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/web_display.py/Screen._set_screen_size