Get stdout window width, with two fallbacks, tty and then a default.