Skip to content

tui::string improvements #24

@jarjk

Description

@jarjk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions