Documentation ¶
Index ¶
- func Blur() tea.Cmd
- func Focus() tea.Cmd
- func MsgFilter(_ tea.Model, msg tea.Msg) tea.Msg
- func SetRenderer(r renderer.Renderer, retainHistory bool) tea.Cmd
- type ExecutorFinishedMsg
- type InputHandler
- type Model
- func (m Model[T]) Init() tea.Cmd
- func (m Model[T]) Renderer() renderer.Renderer
- func (m *Model[T]) SuggestionManager() suggestion.Manager[T]
- func (m Model[T]) SuggestionOffset() int
- func (m Model[T]) TextInput() input.Input[T]
- func (m Model[T]) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m Model[T]) View() string
- type Option
- func WithFocusOnStart[T any](focusOnStart bool) Option[T]
- func WithFormatters[T any](formatters suggestion.Formatters) Option[T]
- func WithRenderer[T any](r renderer.Renderer) Option[T]
- func WithSuggestionManager[T any](manager suggestion.Manager[T]) Option[T]
- func WithUnmanagedRenderer[T any](opts ...renderer.Option) Option[T]
- func WithViewportRenderer[T any](opts ...renderer.Option) Option[T]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExecutorFinishedMsg ¶
type InputHandler ¶
type Model ¶
type Model[T any] struct { // contains filtered or unexported fields }
func (*Model[T]) SuggestionManager ¶
func (m *Model[T]) SuggestionManager() suggestion.Manager[T]
func (Model[T]) SuggestionOffset ¶
type Option ¶
func WithFocusOnStart ¶
func WithFormatters ¶
func WithFormatters[T any](formatters suggestion.Formatters) Option[T]
func WithSuggestionManager ¶
func WithSuggestionManager[T any](manager suggestion.Manager[T]) Option[T]
Directories ¶
Path | Synopsis |
---|---|
commandinput
Package commandinput provides an implementation of the [input.Input] interface.
|
Package commandinput provides an implementation of the [input.Input] interface. |
simpleinput
Package simpleinput provides an implementation of the [input.Input] interface.
|
Package simpleinput provides an implementation of the [input.Input] interface. |
Click to show internal directories.
Click to hide internal directories.