Documentation
¶
Index ¶
- type CompletionGenerator
- type EditLine
- func (el EditLine) AddHistory(line string) error
- func (el EditLine) Close()
- func (el EditLine) GetLine() (string, error)
- func (el EditLine) GetLineInfo() (string, int)
- func (el EditLine) LoadHistory(file string) error
- func (el EditLine) RebindControlKeys()
- func (el EditLine) SaveHistory() error
- func (el EditLine) SetAutoSaveHistory(file string, autoSave bool)
- func (el EditLine) SetCompleter(gen CompletionGenerator)
- func (el EditLine) SetLeftPrompt(prompt string)
- func (el EditLine) SetRightPrompt(prompt string)
- func (el EditLine) Stderr() *os.File
- func (el EditLine) Stdin() *os.File
- func (el EditLine) Stdout() *os.File
- func (el EditLine) UseHistory(maxEntries int, dedup bool) error
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 (EditLine) AddHistory ¶
func (EditLine) GetLineInfo ¶
func (EditLine) LoadHistory ¶
func (EditLine) RebindControlKeys ¶
func (el EditLine) RebindControlKeys()
func (EditLine) SaveHistory ¶
func (EditLine) SetAutoSaveHistory ¶
func (EditLine) SetCompleter ¶
func (el EditLine) SetCompleter(gen CompletionGenerator)
func (EditLine) SetLeftPrompt ¶
func (EditLine) SetRightPrompt ¶
Click to show internal directories.
Click to hide internal directories.