ftsf / nico

a Game Framework in Nim inspired by Pico-8.
MIT License
630 stars 36 forks source link

gui label with richPrint color codes has incorrect width #62

Closed jorisbontje closed 3 years ago

jorisbontje commented 3 years ago

When using a label with richPrint color control codes such as G.label("one <8>two<-> three") instead of G.label("one two three"), the label gets differently word wrapped within the parent area even through the width should be the same.

ftsf commented 3 years ago

@jorisbontje i've pushed a fix for this