dependabot[bot] e3a8e9ee6f
Bump github.com/onsi/ginkgo/v2 from 2.18.0 to 2.19.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.18.0...v2.19.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-08 08:34:36 +00:00
2024-06-08 18:33:44 +10:00
2022-07-02 19:13:12 +10:00
2022-07-03 09:56:39 +10:00
2024-03-05 21:56:13 +11:00
2022-07-02 18:57:56 +10:00
2023-12-20 19:29:59 +11:00
2024-03-05 21:56:13 +11:00
2024-06-08 18:29:19 +10:00
2023-12-15 17:59:47 +11:00
2022-12-17 12:32:56 +11:00
2023-12-20 19:29:59 +11:00
2024-03-05 21:56:13 +11:00
2023-12-20 19:29:59 +11:00
2024-03-05 21:56:13 +11:00
2023-12-20 19:29:59 +11:00
2024-03-05 21:56:13 +11:00
2023-12-20 19:29:59 +11:00
2024-03-05 21:56:13 +11:00
2021-12-19 15:06:48 +11:00
2022-07-02 19:02:04 +10:00
2024-03-05 21:56:13 +11:00
2023-12-20 19:29:59 +11:00
2024-05-07 12:23:28 -06:00
2023-12-20 20:40:02 +11:00
2024-03-05 21:56:13 +11:00
2023-12-20 20:40:02 +11:00
2022-10-23 15:29:56 +02:00
2023-12-19 18:12:08 +11:00

tvxwidgets

PkgGoDev Go codecov Go Report

tvxwidgets provides extra widgets for tview.

Screenshot

Widgets

Example

package main

import (
	"time"

	"github.com/gdamore/tcell/v2"
	"github.com/navidys/tvxwidgets"
	"github.com/rivo/tview"
)

func main() {
	app := tview.NewApplication()
	gauge := tvxwidgets.NewActivityModeGauge()
	gauge.SetTitle("activity mode gauge")
	gauge.SetPgBgColor(tcell.ColorOrange)
	gauge.SetRect(10, 4, 50, 3)
	gauge.SetBorder(true)

	update := func() {
		tick := time.NewTicker(500 * time.Millisecond)
		for {
			select {
			case <-tick.C:
				gauge.Pulse()
				app.Draw()
			}
		}
	}
	go update()

	if err := app.SetRoot(gauge, false).EnableMouse(true).Run(); err != nil {
		panic(err)
	}
}

Description
tvxwidgets provides extra widgets for tview
Readme MIT 1.3 MiB
Languages
Go 93.8%
Makefile 5.1%
Shell 1.1%