Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeyMap ¶
type KeyMap struct { Quit key.Binding Up key.Binding Down key.Binding HalfUp key.Binding HalfDown key.Binding FullUp key.Binding FullDown key.Binding UpFocus key.Binding DownFocus key.Binding GoToFirstLine key.Binding GoToLastLine key.Binding GoToTop key.Binding GoToMiddle key.Binding GoToBottom key.Binding CenterCursor key.Binding Search key.Binding ClearSearch key.Binding Normal key.Binding TextInputKeyMap }
func CreateKeyMap ¶ added in v0.2.0
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) SyncContent ¶
Sync content by updating cursor and visible rows
func (*Model) UnstyledString ¶
type TextInputKeyMap ¶ added in v0.4.1
type TextInputKeyMap struct { CharacterForward key.Binding CharacterBackward key.Binding WordForward key.Binding WordBackward key.Binding DeleteWordBackward key.Binding DeleteWordForward key.Binding DeleteAfterCursor key.Binding DeleteBeforeCursor key.Binding DeleteCharacterBackward key.Binding DeleteCharacterForward key.Binding LineStart key.Binding LineEnd key.Binding Paste key.Binding }
Click to show internal directories.
Click to hide internal directories.