Show correct number of console lines in narrow windows

It was showing too few.