Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

Chili coloring broken for colors containing newline character

Open DeinFreund opened this issue 9 years ago • 6 comments

This includes one of the default team colors, which is rgb(10, 100, 40). 10 is translated to \n which breaks Chili.

Affected UI: img i

DeinFreund avatar May 18 '17 12:05 DeinFreund

Colour codes are engine, mantised. https://springrts.com/mantis/view.php?id=5836

sprunk avatar Nov 11 '17 07:11 sprunk

This change broke a lot. screen00586

GoogleFrog avatar Nov 26 '17 04:11 GoogleFrog

2ae299c874345fec3c750730d128116eca81ef04 reverted the fix so this needs to be checked again.

sprunk avatar Feb 28 '18 09:02 sprunk

this is broken in some cases

example here:

https://cdn.discordapp.com/attachments/278908415756206080/418254876452061194/screen00000.png

replay

http://zero-k.info/Battles/Detail/488882

Sortale avatar Feb 28 '18 10:02 Sortale

Probably fixed be7495852eafb9c02b6921197ed40a6cd402447c

sprunk avatar Feb 28 '18 12:02 sprunk

Tested, works correctly.

sprunk avatar Apr 22 '18 22:04 sprunk