Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Keys = KeyMap{ UserListView: key.NewBinding( key.WithKeys("tab"), key.WithHelp("tab", "user list"), ), UserDetailsView: key.NewBinding( key.WithKeys("tab"), key.WithHelp("tab", "user details"), ), RoleListView: key.NewBinding( key.WithKeys("tab"), key.WithHelp("tab", "role list"), ), RoleDetailsView: key.NewBinding( key.WithKeys("tab"), key.WithHelp("tab", "role details"), ), Help: key.NewBinding( key.WithKeys("?"), key.WithHelp("?", "toggle help"), ), Quit: key.NewBinding( key.WithKeys("ctrl+c"), key.WithHelp("ctrl+c", "quit"), ), Roles: key.NewBinding( key.WithKeys("r"), key.WithHelp("r", "roles")), Users: key.NewBinding( key.WithKeys("u"), key.WithHelp("u", "users"), ), }
Functions ¶
This section is empty.
Types ¶
type Bubble ¶
type Bubble struct { Styles Styles StatusMessageLifetime time.Duration // contains filtered or unexported fields }
func (*Bubble) UpdateMode ¶
func (b *Bubble) UpdateMode(mode mode.ActiveMode)
Click to show internal directories.
Click to hide internal directories.