Colored text formatter: don't print empty space when no msg