Fixed the word wrap issue. Not escaping the color codes properly.