textbox

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2019 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 TextBox

type TextBox struct {
	*ui.Block
	*data.Consumer
	// contains filtered or unexported fields
}

TextBox represents a component with regular text

func NewTextBox

func NewTextBox(c config.TextBoxConfig, palette console.Palette) *TextBox

func (*TextBox) Draw

func (t *TextBox) Draw(buffer *ui.Buffer)

Jump to

Keyboard shortcuts

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