tui

package
v0.0.0-...-1330fc7 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AheadStyle = tcell.StyleDefault.
				Background(tcell.NewHexColor(0x2f3542)).
				Foreground(tcell.ColorGreen)
	BehindStyle = tcell.StyleDefault.
				Background(tcell.NewHexColor(0x2f3542)).
				Foreground(tcell.ColorRed)
	GoldStyle = tcell.StyleDefault.
				Background(tcell.NewHexColor(0x2f3542)).
				Foreground(tcell.ColorGold)
)

Functions

func DrawSegments

func DrawSegments(scr tcell.Screen, style tcell.Style, segments []*run.Segment)

func DrawTimer

func DrawTimer(s tcell.Screen, style tcell.Style, ct string)

func DrawTitle

func DrawTitle(s tcell.Screen, title, category string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳