Documentation
¶
Index ¶
- Variables
- func BuildHelpItem(title string, keys []HelpKeyBindingSpec) string
- func BuildHelpMenu(context *context.Context) string
- func InitializeDashboardScreen(username string, vault *tlockvault.Vault, context *context.Context) modelmanager.Screen
- type DashboardScreen
- type HelpKeyBindingSpec
- type HelpScreen
- type ThemesScreen
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyAsciiArt = `
\ /\
) ( ')
( / )
\(__)|
`
Functions ¶
func BuildHelpItem ¶
func BuildHelpItem(title string, keys []HelpKeyBindingSpec) string
Builds the help menu for the given set of key bindings and the tile
func BuildHelpMenu ¶
func InitializeDashboardScreen ¶
func InitializeDashboardScreen(username string, vault *tlockvault.Vault, context *context.Context) modelmanager.Screen
Initializes a new instance of dashboard screen
Types ¶
type DashboardScreen ¶
type DashboardScreen struct {
// contains filtered or unexported fields
}
Dashboard screen
func (DashboardScreen) Update ¶
func (screen DashboardScreen) Update(msg tea.Msg, manager *modelmanager.ModelManager) (modelmanager.Screen, tea.Cmd)
Update
type HelpKeyBindingSpec ¶
type HelpScreen ¶
type HelpScreen struct {
// contains filtered or unexported fields
}
Help screen
func InitializeHelpScreen ¶
func InitializeHelpScreen(context *context.Context) HelpScreen
Initializes a new instance of the help screen
func (HelpScreen) Update ¶
func (screen HelpScreen) Update(msg tea.Msg, manager *modelmanager.ModelManager) (modelmanager.Screen, tea.Cmd)
Update
type ThemesScreen ¶
type ThemesScreen struct {
// contains filtered or unexported fields
}
Themes screen
func InitializeThemesScreen ¶
func InitializeThemesScreen(context *tlockcontext.Context) ThemesScreen
Initializes a new instance of the themes screen
func (ThemesScreen) SetTheme ¶
func (screen ThemesScreen) SetTheme(theme tlockcontext.Theme) tea.Cmd
Sets the theme
func (ThemesScreen) Update ¶
func (screen ThemesScreen) Update(msg tea.Msg, manager *modelmanager.ModelManager) (modelmanager.Screen, tea.Cmd)
Update
Click to show internal directories.
Click to hide internal directories.