widgets

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimingBreakdown

type TimingBreakdown struct {
	ui.Block
	Timings map[string]time.Duration
	Colors  map[string]ui.Color
}

func NewTimingBreakdown

func NewTimingBreakdown() *TimingBreakdown

func (*TimingBreakdown) Draw

func (self *TimingBreakdown) Draw(buf *ui.Buffer)

func (*TimingBreakdown) SetTimings

func (self *TimingBreakdown) SetTimings(newTimings map[string]time.Duration)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL