Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyMap ¶
type KeyMap struct { Quit key.Binding Down key.Binding Up key.Binding Left key.Binding Right key.Binding Space key.Binding Enter key.Binding Esc key.Binding SwapView key.Binding ShowLogs key.Binding RefreshList key.Binding Search key.Binding Apply key.Binding Settings key.Binding PageDown key.Binding PageUp key.Binding HalfPageUp key.Binding HalfPageDown key.Binding }
KeyMap defines the keybindings for the viewport. Note that you don't necessary need to use keybindings at all; the viewport can be controlled programmatically with methods like Model.LineDown(1). See the GoDocs for details.
Click to show internal directories.
Click to hide internal directories.