jessevdk/go-flags — pull request #3 by fabiokung (2012-10-05 09:00:25+00:00)
Title: Terminal Columns aren't always available

In my case (OS X 10.8.2 + iTerm2) `getTerminalColumns()` returns always `0`.

This is a simple change to make it safer and assume `80` when a better value isn't available. Most unix tools do something similar.