ui

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter added in v1.1.2

type Formatter interface {
	Format(p []byte) ([]byte, error)
}

type Reader

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

func (Reader) Read

func (r Reader) Read(p []byte) (n int, err error)

type UI

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

func NewUI

func NewUI() *UI

func (*UI) RenderDisplay

func (u *UI) RenderDisplay(b []byte)

func (*UI) RenderInput

func (u *UI) RenderInput(b []byte)

func (*UI) Start

func (u *UI) Start()

func (*UI) Stop added in v1.0.4

func (u *UI) Stop()

type Writer

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

func (Writer) Write

func (w Writer) Write(p []byte) (n int, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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