Print fewer lines when possible while better respecting term width