A simple eye test that measures how pupils respond in darkness could help doctors detect hidden signs of consciousness after brain injury.