Releases: uutils/uutils-term-grid
Releases · uutils/uutils-term-grid
v0.6
New features
- Expose the
Grid::column_widths
method to access the number of columns and their widths.
v0.5
New features:
- ANSI hyperlinks are now ignored automatically in the width calculation in #36
Fixes:
- allow the screen to be filled exactly and fix off by one errors by @tertsdiepraam in #34
Dependencies:
- Removed
textwrap
in favor of our ownansi-width
Full Changelog: v0.4...v0.5
v0.4
We're happy to announce uutils-term-grid
version 0.4!
In this release, we move further away from the rust-term-grid
origins of this crate and tailor the API more to our needs. This release therefore breaks the entire API. If you're using this library, we hope this doesn't inconvenience you too much and that the improvement is clear. Anecdotally, we have seen that using this version of the library is much simpler than 0.3.
The important changes are:
- The
fit_into_columns
functionality has been removed. - ANSI codes are now handled correctly in the width calculation.
- Cells no longer have to be added to a grid one by one, but a grid is constructed with a
Vec
of&str
directly. - The
width
of the grid can be specified inGridOptions
. - A
Grid
now implementsDisplay
.