Tweak terminal_size to never set either to 0, and return true/false whether it could determine at least one coordinate.

(If you set $COLUMNS but not $ROWS, we assume you're happy with the 80x25 default for the other.)
2 files changed