adaptiveLine adds a line to the output that is automatically broken to multiple lines, if it's too long (80 characters).
See Implementation