termdash v0.8.0 Release Notes
Release Date: 2019-03-30 // about 5 years ago-
โ Added
- ๐ New API for building layouts, a grid.Builder. Allows defining the layout iteratively as repetitive Elements, Rows and Columns.
- ๐ Containers now support margin around them and padding of their content.
- โก๏ธ Container now supports dynamic layout changes via the new Update method.
๐ Changed
- ๐ The Text widget now supports content wrapping on word boundaries.
- The BarChart and SparkLine widgets now have a method that returns the observed value capacity the last time Draw was called.
- Moving widgetapi out of the internal directory to allow external users to develop their own widgets.
- Event delivery to widgets now has a stable defined order and happens when the container is unlocked so that widgets can trigger dynamic layout changes.
๐ Fixed
- โ The termdash_test now correctly waits until all subscribers processed events, not just received them.
- Container focus tracker now correctly tracks focus changes in enlarged areas, i.e. when the terminal size increased.
- The BarChart, LineChart and SegmentDisplay widgets now protect against external mutation of the values passed into them by copying the data they receive.