displayer

package
v0.0.0-...-1091b84 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Displayer

type Displayer interface {
	Display(commandName string)
	CleanUp(err error)
}

Displayer displays the commands from another writer to stdout

func NewDisplayer

func NewDisplayer(output string, stdout, stderr io.Reader) Displayer

NewDisplayer returns a new displayer

type TTYCollapseDisplayer

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

TTYCollapseDisplayer displays with a screenbuff

func (*TTYCollapseDisplayer) CleanUp

func (d *TTYCollapseDisplayer) CleanUp(err error)

CleanUp collapses and stop displaying

func (*TTYCollapseDisplayer) Display

func (d *TTYCollapseDisplayer) Display(commandName string)

Display displays a

Jump to

Keyboard shortcuts

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