'Removes a given screen from the listeners queue and failes
silently if it\'s not attached.
:param pyte.screens.Screen screen: a screen to detach.'

def detach(self, screen):

    for (idx, (listener, _)) in enumerate(self.listeners):
        if (screen is listener):
            self.listeners.pop(idx)
