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.