Setting the terminal window name to the current buffer.

This is used by arbtt to track time.
Join multiple lines.