Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultKeyMap = KeyMap{ Up: key.NewBinding( key.WithKeys("k", "up", "left", "shift+tab"), key.WithHelp("↑/k", "Move up"), ), Down: key.NewBinding( key.WithKeys("j", "down", "right", "tab"), key.WithHelp("↓/j", "Move down"), ), Exit: key.NewBinding( key.WithKeys("q", "ctrl+c"), key.WithHelp("q/ctrl-c", "Exit program"), ), Help: key.NewBinding( key.WithKeys("?"), key.WithHelp("?", "Toggle help"), ), Enter: key.NewBinding( key.WithKeys("enter", " "), key.WithHelp("enter/spacebar", "Check/Uncheck box"), ), }
DefaultKeyMap describes the default key bindings
Functions ¶
func GetInterfaces ¶
GetInterfaces returns all host interfaces in string format
Types ¶
Click to show internal directories.
Click to hide internal directories.