Documentation ¶
Index ¶
- func NewHistory() *history
- type InputMode
- type Multibar
- func (m *Multibar) Clear()
- func (m *Multibar) Commands() <-chan string
- func (m *Multibar) Cursor() int
- func (m *Multibar) Error(err error)
- func (m *Multibar) History() *history
- func (m *Multibar) Input(event tcell.Event) bool
- func (m *Multibar) Len() int
- func (m *Multibar) Mode() InputMode
- func (m *Multibar) Searches() <-chan string
- func (m *Multibar) SetMessage(msg string)
- func (m *Multibar) SetMode(mode InputMode)
- func (m *Multibar) String() string
- type TabCompleter
- type TabCompleterFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHistory ¶
func NewHistory() *history
Types ¶
type InputMode ¶
type InputMode int
Different input modes are handled in different ways. Check Multibar.inputMode against these constants.
type Multibar ¶
type Multibar struct {
// contains filtered or unexported fields
}
Multibar implements a Vi-like combined statusbar and input box.
func New ¶
func New(tcf TabCompleterFactory) *Multibar
func (*Multibar) History ¶
func (m *Multibar) History() *history
History returns the input history of the current input mode.
func (*Multibar) SetMessage ¶
type TabCompleter ¶
type TabCompleterFactory ¶
type TabCompleterFactory func(input string) TabCompleter
Click to show internal directories.
Click to hide internal directories.