ui

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package ui implements kee's terminal user interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UI

type UI struct {
	// contains filtered or unexported fields
}

UI holds the interface components, configuration and state

func NewUI

func NewUI(v *configuration.ViewConfig, a *tview.Application, views <-chan controller.View, cmd chan<- controller.Command) *UI

NewUI prepares kee's terminal user interface

func (*UI) Run

func (ui *UI) Run(ctx context.Context)

Run handles model update and redraws the UI forever.

Jump to

Keyboard shortcuts

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