Skip to content

v0.9.0

Choose a tag to compare

@Martan03 Martan03 released this 05 May 14:40
· 3 commits to master since this release

v0.9.0

Features

  • Add Stylize and Styleable traits for better styling
    • Such as .red(), .on_white() and .bold()
  • Add Line and StyledStr for better text parsing
  • Add Text::append_lines to the Text trait
  • Add text alignment and ellipsis into Paragraph
  • Add Text trait implementation for Paragraph
  • Add bottom title to Block (Block::title_bottom)
  • Add support for multiple titles to Block
  • Add row_span and col_span support to Grid
  • Add label to ProgressBar

Changes:

  • Remove Text::render_offset (Text::append_lines should be used instead)
  • Remove Text::get and Text::get_text
    • Text::get is replaced by std::fmt::Display implementation

Fixes

  • Fix table row style not being applied
  • Fix text parser ignoring whitespaces when Wrap::Word
  • Fix text parser incorrectly measuring width