click and drag to remove works on terminals inside a capture block