Console-width detection should be interactive sessions only
I was surprised to see that my program's standard output changed when I unplugged my laptop from my external display this afternoon! I suggest that the terminal-width detection feature should only operate in an interactive python session. In non-interactive usage the stdout should depend only on the print options currently in effect.

See PR #453
