term

package
v0.0.0-...-160a739 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package term implements terminal UI

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 is the terminal UI

func NewUI

func NewUI(c chan *homlet.Packet, settings []*homlet.DeviceSettings) *UI

NewUI instanciates a new terminal UI

func (*UI) Run

func (ui *UI) Run()

Run displays UI, and blocks until user wants to quit

Jump to

Keyboard shortcuts

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