screen

package
v1.1.0-alpha-2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Width  = 80
	Height = 25
)

Variables

This section is empty.

Functions

func New

func New(vt int) error

func Push

func Push(section Section)

func Refresh

func Refresh()

Types

type Attribute

type Attribute string
const (
	Bold  Attribute = "1"
	Red   Attribute = "31"
	Blue  Attribute = "34"
	Green Attribute = "32"
)

type Attributes

type Attributes []Attribute

type Frame

type Frame []Section

type GroupSection

type GroupSection struct {
	Sections []Section
}

type ProgressSection

type ProgressSection struct {
	Text string
	// contains filtered or unexported fields
}

func (*ProgressSection) Stop

func (s *ProgressSection) Stop(off bool)

type RowCell

type RowCell struct {
	Text string
}

type RowSection

type RowSection struct {
	Cells []RowCell
}

type Section

type Section interface {
	// contains filtered or unexported methods
}

type SplitterSection

type SplitterSection struct {
	Title string
}

type TextSection

type TextSection struct {
	Attributes Attributes
	Text       string
}

Jump to

Keyboard shortcuts

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