Fix terminal width detection.

I broke the width detection in 0.2.10, this fixes it.