The `colorizeResource` method returns String which already contains color escape sequences. That's why there is problem with formatting to columns when some strings contains color sequences and some not. The original function `Parser.formatDisplayList(List<Sring>, ...)` considers color sequences as part of the string and adds spaces according to it. I've created bug report for that (AESH-234).

This new method `colorizeResourceTerminal` do not return String, but TerminalString, which have text and formatting stored separately. This way I can get length of original string easily which is used to calculate size of the column.