Now that all output should end in a newline, we don't need to play tricks with getting certain escape codes out ahead of buffered output. This updates what we tried to do in commit 991b83d23c. This partially reverts commit 8056125077.
991b83d23c
8056125077