Documentation ¶
Index ¶
- type Field
- func (m *Field) Backspace()
- func (m *Field) Cursor() int
- func (m *Field) End()
- func (m *Field) Home()
- func (m *Field) Insert(r rune)
- func (m *Field) InsertNL()
- func (m *Field) Left()
- func (m *Field) Right()
- func (m *Field) Set(value string)
- func (m *Field) String() string
- func (m *Field) Strings() []string
- type FieldWithFocus
- type FocusState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct {
// contains filtered or unexported fields
}
Field contains a string value
type FieldWithFocus ¶
type FieldWithFocus struct { *Field *FocusState }
func WithFocus ¶
func WithFocus(field *Field) *FieldWithFocus
type FocusState ¶
type FocusState struct {
// contains filtered or unexported fields
}
func (*FocusState) Blur ¶
func (m *FocusState) Blur()
func (*FocusState) Focus ¶
func (m *FocusState) Focus()
func (*FocusState) Focused ¶
func (m *FocusState) Focused() bool
Click to show internal directories.
Click to hide internal directories.