Be sure we don't print more chars than the tty size.