alter `tui::string`, to store the string itself, and the styles as a vec<style/color>. this helps: - getting stuff like `assert(tui::string("hello").size() == 5)` - reset style wouldn't be written more then once, reducing io
alter
tui::string, to store the string itself, and the styles as a vec<style/color>.this helps:
assert(tui::string("hello").size() == 5)