Versions in this module Expand all Collapse all v0 v0.2.0 May 28, 2026 Changes in this version + var ErrInterrupted = editline.ErrInterrupted + var ErrTerminated = errors.New("terminated") + type AutoCompleteFn = editline.AutoCompleteFn + type Candidate = editline.Candidate + type Completions = editline.Completions + type Editor struct + func New() *Editor + func (m *Editor) AddHistory(line string) error + func (m *Editor) AppendHistory() error + func (m *Editor) Close() + func (m *Editor) GetLine() (string, error) + func (m *Editor) LoadHistory(file string) error + func (m *Editor) SaveHistory() error + func (m *Editor) SetAutoSaveHistory(file string, autoSave bool) + func (m *Editor) SetHelpDisabled(disabled bool) + func (m *Editor) SetHighlighter(highlighter func(string) string) + func (m *Editor) Update(imsg tea.Msg) (tea.Model, tea.Cmd) + func (m *Editor) View() tea.View + type Entry = complete.Entry + type Values = complete.Values