Fixes #3 truncate output to fit tty