Skip to content

Releases: mum4k/termdash

v0.20.0 - 10-Mar-2024

10 Mar 20:08
102df20
Compare
Choose a tag to compare

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 - 29-Jan-2024

29 Jan 20:20
bc63a16
Compare
Choose a tag to compare

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 - 08-Feb-2023

08 Feb 22:04
e7f235a
Compare
Choose a tag to compare

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 - 07-Jul-2022

08 Jul 03:23
9954a05
Compare
Choose a tag to compare

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 - 13-Jan-2022

14 Jan 05:44
f13e422
Compare
Choose a tag to compare

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 - 03-Apr-2021

03 Apr 21:23
9ed3713
Compare
Choose a tag to compare

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 - 06-Mar-2021

06 Mar 07:28
8a5b62c
Compare
Choose a tag to compare

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 - 30-Dec-2020

30 Dec 07:40
d2b202a
Compare
Choose a tag to compare

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 - 17-Nov-2020

18 Nov 04:33
fbd21e7
Compare
Choose a tag to compare

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 - 20-Jun-2020

20 Jun 19:32
954b43c
Compare
Choose a tag to compare

Fixed

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