Documentation ¶
Overview ¶
Package minibuffer todo
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Open ¶
func Open(w *Widget, container gowid.ISettableComposite, width gowid.IWidgetDimension, app gowid.IApp)
w is minibuffer container is main view
Types ¶
type IAction ¶
type IAction interface { Run(gowid.IApp, ...string) error // nil means success Arguments([]string, gowid.IApp) []IArg OfferCompletion() bool }
IAction represents a command that can be run in the minibuffer e.g. "set". It can decide whether or not to show in the list of completions e.g. if the user types "s".
type IArg ¶
IArg represents an argument to a minibuffer command e.g. "dark-mode" in the command "set dark-mode on".
Click to show internal directories.
Click to hide internal directories.