Termdash Versions Save

Terminal based dashboard.

v0.20.0

2 months ago

v0.20.0 - 10-Mar-2024

Added

  • Support for an alternative way of splitting containers where the size or percentage is specified for the right (or bottom) container and the left (or top) is calculated.

Changed

  • Bump github.com/gdamore/tcell/v2 from 2.7.0 to 2.7.4.

v0.19.0

3 months ago

v0.19.0 - 29-Jan-2024

Added

  • Support for "Backtab" (a.k.a. Shift+Tab) as a supported keystroke for tcell widgets.

Changed

  • Migrated CI from Travis to Github Actions.
  • Bump github.com/gdamore/tcell/v2 from 2.5.4 to 2.7.0.
  • Change the Go version in go.mod to 1.21.
  • Executed go mod tidy.
  • CI now executes tests with Golang v1.20 and v1.21.

v0.18.0

1 year ago

v0.18.0 - 08-Feb-2023

Added

  • The gauge widget now supports drawing of a vertical threshold bar.
  • The TextInput widget now supports an OnChange handler that allows user code to be notified when the content of the text input changes.

Changed

  • Bump github.com/gdamore/tcell/v2 from 2.5.1 to 2.5.4.
  • Bump github.com/mattn/go-runewidth from 0.0.13 to 0.0.14.
  • Bump github.com/gdamore/tcell/v2 from 2.5.1 to 2.5.3.
  • Bump github.com/gdamore/tcell/v2 from 2.5.1 to 2.5.2
  • Change the Go version in go.mod to 1.20.
  • Executed go mod tidy.
  • CI now executes tests with Golang v1.20 only.

Removed

  • Removed the Sourcegraph badge from the main page.

Fixed

  • Formatted all Go files with gofmt from Golang v1.20.
  • Fixed line coverage reporting.

v0.17.0

1 year ago

Added

  • Added support for tcell's Dim text style.

Changed

  • Bump github.com/gdamore/tcell from 2.4.0 to 2.5.1.
  • Bump github.com/nsf/termbox-go to v1.1.1.
  • Change the Go version in go.mod to 1.17.
  • Executed go mod tidy.

Fixed

  • Fixed invalid path to the autogen_licences.sh script in .travis.ci.

v0.16.1

2 years ago

Changed

  • Change the Go versions the CI builds with up to 1.17.
  • Bump github.com/gdamore/tcell from 2.2.0 to 2.4.0.
  • Bump github.com/mattn/go-runewidth from 0.0.12 to 0.0.13.

Note

The pull request for this release contains some commits that belong to release v0.16.0 due to an incorrect merge into master at that release (a squash merge). None of these commits contain any effective changes.

v0.16.0

3 years ago

Added

  • The Text widget has a new option MaxTextCells which can be used to limit the maximum number of cells the widget keeps in memory.

Changed

  • Bump github.com/mattn/go-runewidth from 0.0.10 to 0.0.12.

v0.15.0

3 years ago

Changed

  • Bump github.com/gdamore/tcell/v2 from 2.0.0 to 2.2.0.
  • Bump github.com/mattn/go-runewidth from 0.0.9 to 0.0.10.
  • Allowing CI to modify go.mod and go.sum when necessary.
  • Executed go mod tidy.

Added

  • TitleColor and TitleFocusedColor options for border title which enables the setting of separate colors for border and title on a container.

v0.14.0

3 years ago

Breaking API changes

  • The widgetapi.Widget.Keyboard and widgetapi.Widget.Mouse methods now accepts a second argument which provides widgets with additional metadata. All widgets implemented outside of the termdash repository will need to be updated similarly to the Barchart example below. Change the original method signatures:

    func (*BarChart) Keyboard(k *terminalapi.Keyboard) error { ... }
    
    func (*BarChart) Mouse(m *terminalapi.Mouse) error { ... }
    
    

    By adding the new *widgetapi.EventMeta argument as follows:

    func (*BarChart) Keyboard(k *terminalapi.Keyboard, meta *widgetapi.EventMeta) error { ... }
    
    func (*BarChart) Mouse(m *terminalapi.Mouse, meta *widgetapi.EventMeta) error { ... }
    

Fixed

  • termdash no longer crashes when tcell is used and the terminal window downsizes while content is being drawn.

Added

Text input form functionality with keyboard navigation

  • added a new formdemo that demonstrates a text input form with keyboard navigation.

Infrastructure changes

  • container now allows users to configure keyboard keys that move focus to the next or the previous container.
  • containers can request to be skipped when focus is moved using keyboard keys.
  • containers can register into separate focus groups and specific keyboard keys can be configured to move the focus within each focus group.
  • widgets can now request keyboard events exclusively when focused.
  • users can now set a container as focused using the new container.Focused option.

Updates to the button widget

  • the button widget allows users to specify multiple trigger keys.
  • the button widget now supports different keys for the global and focused scope.
  • the button widget can now be drawn without the shadow or the press animation.
  • the button widget can now be drawn without horizontal padding around its text.
  • the button widget now allows specifying cell options for each cell of the displayed text. Separate cell options can be specified for each of button's main states (up, focused and up, down).
  • the button widget allows specifying separate fill color values for each of its main states (up, focused and up, down).
  • the button widget now has a method SetCallback that allows updating the callback function on an existing button instance.

Updates to the textinput widget

  • the textinput widget can now be configured to request keyboard events exclusively when focused.
  • the textinput widget can now be initialized with a default text in the input box.

v0.13.0

3 years ago

Added

  • the Text widget now allows user to specify custom scroll marker runes.

Changed

  • terminal cells now support font modifier options (bold, italic, underline, strike through).
  • tcell dependency was upgraded to v2.0.0.
  • upgraded versions of all other dependencies.
  • aligned the definition of the first 16 colors with the definition used by Xterm and tcell. Defined two non-standard colors ColorMagenta and ColorCyan to make this change backward compatible for users that use termbox-go.
  • made tcell terminal implementation the default in examples, demos and documentation.

Fixed

  • coveralls again triggers and reports on PRs.
  • addressed some lint issues.
  • improved test coverage in some modules.
  • changed the Blue color in demos to a more visible shade.
  • fixed a bug where segment display text in termdashdemo appeared to be jumping.

v0.12.1

3 years ago

Fixed

  • the tcell unit test can now pass in headless mode (when TERM="") which happens under bazel.
  • switching coveralls integration to Github application.