Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbortedMsg ¶
type AbortedMsg struct{}
type KeyMap ¶
type KeyMap struct { LeftButton key.Binding RightButton key.Binding Accept key.Binding Exit key.Binding }
func DefaultKeyMap ¶
func DefaultKeyMap() KeyMap
type ModelOption ¶
type ModelOption func(*Model)
func WithActiveButton ¶
func WithActiveButton(button string) ModelOption
func WithButtons ¶
func WithButtons(buttons ...string) ModelOption
func WithQuestion ¶
func WithQuestion(question string) ModelOption
func WithWidth ¶
func WithWidth(width int) ModelOption
type SelectedMsg ¶
Click to show internal directories.
Click to hide internal directories.