terminalui

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package terminalui provides interface for display handlers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Display

type Display interface {
	DisplayEvents()
}

Display is the interface with the function for displaying events.

func NewDisplay

func NewDisplay() Display

NewDisplay will select a display handler based on the environment.

Directories

Path Synopsis
Package component provides all components for formatting the display.
Package component provides all components for formatting the display.
eventhandler
Package eventhandler will provide all functions to handle the events
Package eventhandler will provide all functions to handle the events
frame
Package frame is a simple implementation on switching across cursor on terminal, based on ANSI.
Package frame is a simple implementation on switching across cursor on terminal, based on ANSI.
progressformatter
Package progressformatter is an implementation based on github.com/wagoodman/go-progress/simple
Package progressformatter is an implementation based on github.com/wagoodman/go-progress/simple
spinner
Package spinner is a simple implementation of spinner component
Package spinner is a simple implementation of spinner component
Package dynamicui provides display handler for dynamic progress bar in the terminal
Package dynamicui provides display handler for dynamic progress bar in the terminal
Package plainui provides display handler for generic terminal
Package plainui provides display handler for generic terminal

Jump to

Keyboard shortcuts

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