Consumer confidence in surprise gain

A key measure of consumer confidence rose modestly in July after declining for six months in a row, according to a report issued Tuesday.