Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultKeyMap = KeyMap{ CursorUp: key.NewBinding(key.WithKeys("up", "k"), key.WithHelp("↑/k", "up")), CursorDown: key.NewBinding(key.WithKeys("down", "j"), key.WithHelp("↓/j", "down")), NextPage: key.NewBinding(key.WithKeys("right", "l"), key.WithHelp("→/l", "next page")), PrevPage: key.NewBinding(key.WithKeys("left", "←"), key.WithHelp("←/h", "prev page")), Quit: key.NewBinding(key.WithKeys("q", "ctrl+c"), key.WithHelp("q/ctrl+c", "quit")), Back: key.NewBinding(key.WithKeys("esc"), key.WithHelp("esc", "back")), Help: key.NewBinding(key.WithKeys("?"), key.WithHelp("?", "close help")), Select: key.NewBinding(key.WithKeys("enter"), key.WithHelp("enter", "select series")), Reload: key.NewBinding(key.WithKeys("r", "f5"), key.WithHelp("r", "reload list")), Filter: key.NewBinding(key.WithKeys("/"), key.WithHelp("/", "filter")), AddNew: key.NewBinding(key.WithKeys("ctrl+a"), key.WithHelp("ctrl+a", "add new series")), }
Functions ¶
This section is empty.
Types ¶
type KeyMap ¶
type Model ¶
type Model struct { common.EmbedableModel // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.