terminal

package
v0.2.80 Latest Latest
Warning

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

Go to latest
Published: May 27, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPromptAborted = liner.ErrPromptAborted
)

Functions

This section is empty.

Types

type Terminal

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

func New

func New() *Terminal

func (*Terminal) LoadHistroy

func (term *Terminal) LoadHistroy(historyFile string) error

func (*Terminal) SaveHistroy

func (term *Terminal) SaveHistroy(historyFile string) error

func (*Terminal) Scan

func (term *Terminal) Scan(prompt string, fnReadMore func(expr string, line string) (string, bool)) (string, error)

Jump to

Keyboard shortcuts

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