Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputList ¶ added in v0.4.9
type InputList struct {
// contains filtered or unexported fields
}
func NewInputList ¶ added in v0.4.9
func NewInputList() (ipl *InputList)
func (*InputList) GetByIndex ¶ added in v0.4.9
func (*InputList) GetNameByIndex ¶ added in v0.4.9
type InputModel ¶
type InputModel struct {
// contains filtered or unexported fields
}
func NewInputModel ¶
func NewInputModel(opts ...TOption) (im *InputModel)
func (*InputModel) Focus ¶
func (that *InputModel) Focus()
func (*InputModel) Init ¶
func (that *InputModel) Init() tea.Cmd
func (*InputModel) Value ¶
func (that *InputModel) Value() string
func (*InputModel) View ¶
func (that *InputModel) View() string
type InputMultiModel ¶ added in v0.4.9
type InputMultiModel struct {
// contains filtered or unexported fields
}
func NewInputMultiModel ¶ added in v0.4.9
func NewInputMultiModel() (imm *InputMultiModel)
func (*InputMultiModel) AddOneInput ¶ added in v0.4.9
func (that *InputMultiModel) AddOneInput(key string, opts ...MOption)
func (*InputMultiModel) Init ¶ added in v0.4.9
func (that *InputMultiModel) Init() tea.Cmd
func (*InputMultiModel) Values ¶ added in v0.4.9
func (that *InputMultiModel) Values() map[string]string
func (*InputMultiModel) View ¶ added in v0.4.9
func (that *InputMultiModel) View() string
type MOption ¶ added in v0.4.9
func MWithCharlimit ¶ added in v0.4.9
func MWithEchoChar ¶ added in v0.4.9
func MWithEchoMode ¶ added in v0.4.9
func MWithPlaceholder ¶ added in v0.4.9
func MWithWidth ¶ added in v0.4.9
type MultiInput ¶ added in v0.4.9
func NewMultiInput ¶ added in v0.4.9
func NewMultiInput() (mipt *MultiInput)
func (*MultiInput) AddOneItem ¶ added in v0.4.9
func (that *MultiInput) AddOneItem(key string, opts ...MOption)
func (*MultiInput) Run ¶ added in v0.4.9
func (that *MultiInput) Run()
func (*MultiInput) Values ¶ added in v0.4.9
func (that *MultiInput) Values() map[string]string
type TOption ¶
type TOption func(ipm *InputModel)
func WithCharlimit ¶
func WithEchoChar ¶
func WithEchoMode ¶
func WithPlaceholder ¶
Click to show internal directories.
Click to hide internal directories.