ui

package
v0.0.2-0...-9a6aa9e Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build() (*gowid.App, error)

func NewCurrentTaskView

func NewCurrentTaskView() gowid.IWidget

func NewKeymap

func NewKeymap(key, desc string) *keymap

func NewMetricsView

func NewMetricsView() gowid.IWidget

func NewTaskView

func NewTaskView() gowid.IWidget

func OnAbortBreaks

func OnAbortBreaks() <-chan struct{}

func OnPauseTask

func OnPauseTask() <-chan struct{}

func OnResumeTask

func OnResumeTask() <-chan struct{}

func OnStartTask

func OnStartTask() <-chan string

func OnStopTask

func OnStopTask() <-chan struct{}

func OnSwitchTask

func OnSwitchTask() <-chan string

func StartTask

func StartTask(app gowid.IApp)

func UnhandledInput

func UnhandledInput(app gowid.IApp, event interface{}) bool

func UpdateMetrics

func UpdateMetrics(app gowid.IApp, state dto.MetricsState)

func UpdatePomodoro

func UpdatePomodoro(app gowid.IApp, state dto.PomodoroState)

Types

This section is empty.

Directories

Path Synopsis
Package appkeys provides a widget which responds to keyboard input.
Package appkeys provides a widget which responds to keyboard input.

Jump to

Keyboard shortcuts

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