Documentation ¶
Index ¶
- Constants
- func ContentHeight(screen Screen, width int) int
- type GoToScreen
- type HomeScreen
- func (screen HomeScreen) Clear() Screen
- func (screen HomeScreen) Keys() tools.Keybinds
- func (screen HomeScreen) Lock() bool
- func (screen HomeScreen) Messages() []tools.Message
- func (screen HomeScreen) Notifications() []tools.Notification
- func (screen HomeScreen) Title() string
- func (screen HomeScreen) Update(raw tea.Msg) (Screen, tea.Cmd)
- func (screen HomeScreen) View(width int) []string
- type Screen
- type ScreenTag
- type UserItem
- type UserList
- type UserScreen
- func (screen UserScreen) Clear() Screen
- func (screen UserScreen) Keys() tools.Keybinds
- func (screen UserScreen) Lock() bool
- func (screen UserScreen) Messages() []tools.Message
- func (screen UserScreen) Notifications() []tools.Notification
- func (screen UserScreen) Title() string
- func (screen UserScreen) Update(raw tea.Msg) (Screen, tea.Cmd)
- func (screen UserScreen) View(width int) []string
Constants ¶
View Source
const WELCOME_MESSAGE = "Welcome! You can see available actions on the bottom of the screen, press `?` to toggle the help message."
Variables ¶
This section is empty.
Functions ¶
func ContentHeight ¶
Types ¶
type GoToScreen ¶
type GoToScreen struct {
Tag ScreenTag
}
type HomeScreen ¶
type HomeScreen struct {
// contains filtered or unexported fields
}
func NewHomeScreen ¶
func NewHomeScreen() HomeScreen
func (HomeScreen) Clear ¶
func (screen HomeScreen) Clear() Screen
func (HomeScreen) Keys ¶
func (screen HomeScreen) Keys() tools.Keybinds
func (HomeScreen) Lock ¶
func (screen HomeScreen) Lock() bool
func (HomeScreen) Messages ¶
func (screen HomeScreen) Messages() []tools.Message
func (HomeScreen) Notifications ¶
func (screen HomeScreen) Notifications() []tools.Notification
func (HomeScreen) Title ¶
func (screen HomeScreen) Title() string
func (HomeScreen) View ¶
func (screen HomeScreen) View(width int) []string
type UserItem ¶
type UserItem struct {
// contains filtered or unexported fields
}
func NewUserItem ¶
func (UserItem) Description ¶
type UserScreen ¶
type UserScreen struct {
// contains filtered or unexported fields
}
func NewUserScreen ¶
func NewUserScreen() UserScreen
func (UserScreen) Clear ¶
func (screen UserScreen) Clear() Screen
func (UserScreen) Keys ¶
func (screen UserScreen) Keys() tools.Keybinds
func (UserScreen) Lock ¶
func (screen UserScreen) Lock() bool
func (UserScreen) Messages ¶
func (screen UserScreen) Messages() []tools.Message
func (UserScreen) Notifications ¶
func (screen UserScreen) Notifications() []tools.Notification
func (UserScreen) Title ¶
func (screen UserScreen) Title() string
func (UserScreen) View ¶
func (screen UserScreen) View(width int) []string
Click to show internal directories.
Click to hide internal directories.