libedit_other

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompletionGenerator

type CompletionGenerator = common.CompletionGenerator

type EditLine

type EditLine int

func Init

func Init(x string, w bool) (EditLine, error)

func InitFiles

func InitFiles(_ string, _ bool, stdin, stdout, stderr *os.File) (EditLine, error)

func (EditLine) AddHistory

func (el EditLine) AddHistory(_ string) error

func (EditLine) Close

func (el EditLine) Close()

func (EditLine) GetLine

func (el EditLine) GetLine() (string, error)

func (EditLine) GetLineInfo

func (el EditLine) GetLineInfo() (string, int)

func (EditLine) LoadHistory

func (el EditLine) LoadHistory(_ string) error

func (EditLine) RebindControlKeys

func (el EditLine) RebindControlKeys()

func (EditLine) SaveHistory

func (el EditLine) SaveHistory() error

func (EditLine) SetAutoSaveHistory

func (el EditLine) SetAutoSaveHistory(_ string, _ bool)

func (EditLine) SetCompleter

func (el EditLine) SetCompleter(_ CompletionGenerator)

func (EditLine) SetLeftPrompt

func (el EditLine) SetLeftPrompt(l string)

func (EditLine) SetRightPrompt

func (el EditLine) SetRightPrompt(_ string)

func (EditLine) Stderr

func (el EditLine) Stderr() *os.File

func (EditLine) Stdin

func (el EditLine) Stdin() *os.File

func (EditLine) Stdout

func (el EditLine) Stdout() *os.File

func (EditLine) UseHistory

func (el EditLine) UseHistory(_ int, _ bool) error

Jump to

Keyboard shortcuts

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