cat had found the cell that the knight and dog were sharing and had been visiting them each night , planning their escape with them through the barred windows and bringing them both news of what was happening outside the cell .