This project is mirrored from https://github.com/mum4k/termdash.
Pull mirroring updated .
-
-
-
-
-
-
-
-
-
-
v0.12.25be11e3b · ·
v0.12.2 - 31-Aug-2020 Fixed - advanced the CI Go versions up to Go 1.15. - fixed the build status badge to correctly point to travis-ci.com instead of travis-ci.org.
-
-
-
-
-
v0.9.16fe095f4 · ·
0.9.1 - 15-May-2019 Fixed - Termdash could deadlock when a `Button` or a `TextInput` was configured to call the `Container.Update` method.
-
v0.9.0e6af456c · ·
v0.9.0] - 28-Apr-2019 Added - The `TextInput` widget, an input field allowing interactive text input. - The `Donut` widget can now display an optional text label under the donut. Changed - Widgets now get information whether their container is focused when Draw is executed. - The SegmentDisplay widget now has a method that returns the observed character capacity the last time Draw was called. - The grid.Builder API now allows users to specify options for intermediate containers, i.e. containers that don't have widgets, but represent rows and columns. - Line chart widget now allows `math.NaN` values to represent "no value" (values that will not be rendered) in the values slice. Breaking API changes - The widgetapi.Widget.Draw method now accepts a second argument which provides widgets with additional metadata. This affects all implemented widgets. - Termdash now requires at least Go version 1.10, which allows us to utilize `math.Round` instead of our own implementation and `strings.Builder` instead of `bytes.Buffer`. - Terminal shortcuts like `Ctrl-A` no longer come as two separate events, Termdash now mirrors termbox-go and sends these as one event.
-
v0.8.042375120 · ·
v0.8.0 - 30-Mar-2019 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.
-
v0.7.2b8591308 · ·
v0.7.2 - 25-Feb-2019 Added - Test coverage for data only packages. Changed - Refactoring packages that contained a mix of public and internal identifiers. - Breaking API changes The following packages were refactored, no impact is expected as the removed identifiers shouldn't be used externally. -- Functions align.Text and align.Rectangle were moved to a new internal/alignfor package. -- Types cell.Cell and cell.Buffer were moved into a new internal/canvas/buffer package.
-
v0.7.1614d6ed8 · ·
v0.7.1 - 24-Feb-2019 Fixed - Some of the packages that were moved into internal are required externally. This release makes them available again. Breaking API changes - The draw.LineStyle enum was refactored into its own package linestyle.LineStyle. Users will have to replace: -- draw.LineStyleNone -> linestyle.None -- draw.LineStyleLight -> linestyle.Light -- draw.LineStyleDouble -> linestyle.Double -- draw.LineStyleRound -> linestyle.Round
-
v0.7.0c861ecef · ·
v0.7.0 - 24-Feb-2019 Added - New widgets -- The Button widget. - Improvements to documentation -- Clearly marked the public API surface by moving private packages into internal directory. -- Started a GitHub wiki for Termdash. - Improvements to the LineChart widget -- The LineChart widget can display X axis labels in vertical orientation. -- The LineChart widget allows the user to specify a custom scale for the Y axis. -- The LineChart widget now has an option that disables scaling of the X axis. Useful for applications that want to continuously feed data and make them "roll" through the linechart. -- The LineChart widget now has a method that returns the observed capacity of the LineChart the last time Draw was called. -- The LineChart widget now supports zoom of the content triggered by mouse events. - Improvements to the Text widget -- The Text widget now has a Write option that atomically replaces the entire text content. - Improvements to the infrastructure -- A function that draws text vertically. -- A non-blocking event distribution system that can throttle repetitive events. -- Generalized mouse button FSM for use in widgets that need to track mouse button clicks. Changed - Termbox is now initialized in 256 color mode by default. - The infrastructure now uses the non-blocking event distribution system to distribute events to subscribers. Each widget is now an individual subscriber. - The infrastructure now throttles event driven screen redraw rather than redrawing for each input event. - Widgets can now specify the scope at which they want to receive keyboard and mouse events. - Breaking API changes -- High impact --- The constructors of all the widgets now also return an error so that they can validate the options. This is a breaking change for the following widgets: BarChart, Gauge, LineChart, SparkLine, Text. The callers will have to handle the returned error. -- Low impact --- The container package no longer exports separate methods to receive Keyboard and Mouse events which were replaced by a Subscribe method for the event distribution system. This shouldn't affect users as the removed methods aren't needed by container users. --- The widgetapi.Options struct now uses an enum instead of a boolean when widget specifies if it wants keyboard or mouse events. This only impacts development of new widgets. Fixed - The LineChart widget now correctly determines the Y axis scale when multiple series are provided. - Lint issues in the codebase, and updated Travis configuration so that golint is executed on every run. - Termdash now correctly starts in locales like zh_CN.UTF-8 where some of the characters it uses internally can have ambiguous width.