Fix #47: Negative terminal width causes crash
Merge pull request #48 from passy/fix-47

Fix #47: Negative terminal width causes crash