sbt/sbt — pull request #797 by eed3si9n (2013-06-25 14:36:13+00:00)
Title: Supply default terminal width to fix #795

It compiles. I didn't try to reproduce the bug with dump terminal.
Resending this pull request because I forgot the branch the other one.
Also it uses `math`. /cc @xuwei-k.