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