text

package
v0.0.0-...-4e4ff22 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TextUI

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

TextUI communicates to the user strictly through text, asynchronously. It is not to be confused with a TUI, which draws graphics using terminal elements.

This UI is meant for debugging.

func New

func New() (*TextUI, error)

func (*TextUI) ChooseDevice

func (t *TextUI) ChooseDevice() device.Device

func (*TextUI) ChooseDeviceError

func (t *TextUI) ChooseDeviceError(err error)

func (*TextUI) DidChooseDevice

func (t *TextUI) DidChooseDevice(func(device.Device) error)

func (*TextUI) Main

func (t *TextUI) Main()

func (*TextUI) Start

func (t *TextUI) Start() error

Jump to

Keyboard shortcuts

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