no (or not) room to swing a cat used in reference to a very confined space. humorous
☞ The cat in this expression is probably a 'cat-o'-nine-tails', a form of whip with nine knotted cords. In former times these whips were used to flog wrongdoers, especially at sea.