Only check window size after it has been resized
Only check window size after it has been resized

Checking the terminal window size is surprisingly expensive. This change
moves repeated window size checks out of a hot path (the redraw one).

walles/px,walles/px