allows to inclue ANSI SGR codes into molecules

Simple patch that removes eventual ANSI SGR codes from the calculation of the length, so allowing to pass colors and styles into progress bars molecules.