Documentation
¶
Index ¶
Constants ¶
View Source
const ( ColorGreen = Color("#73F59F") ColorRed = Color("#F25D94") ColorPurple = Color("#874BFD") ColorYellow = Color("#FDE68A") ColorGray50 = Color("#FFF7DB") ColorSubtleLight = Color("#D9DCCF") ColorSubtleDark = Color("#383838") )
View Source
const NumSections = 4
View Source
const ResetCommandDuration = time.Second * 3
Variables ¶
This section is empty.
Functions ¶
func InitScreen ¶
func InitScreen() error
Types ¶
type CommandMode ¶
type CommandMode struct {
// contains filtered or unexported fields
}
CommandMode stores the state for selected command mode
type CopyCommandMsg ¶
type CopyCommandMsg struct{}
type KeyMap ¶
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
Options store the state for selected options
type PWDPermissionMsg ¶
type PWDPermissionMsg string
type PathType ¶
type PathType struct {
// contains filtered or unexported fields
}
PathType stores the state for selected path type
type Permissions ¶
type Permissions struct {
// contains filtered or unexported fields
}
Permissions store the state for selected permissions
type PermissionsBlock ¶
type PermissionsBlock struct {
// contains filtered or unexported fields
}
PermissionsBlock store the state for each permissions block
type ResetCommandMsg ¶
type ResetCommandMsg string
type Styles ¶
type Styles struct {
Banner string
BannerContent lipgloss.Style
BannerText lipgloss.Style
OptionsContainer func(opts strings.Builder) string
OptionsHeader lipgloss.Style
OptionsItem lipgloss.Style
OptionsActiveItem lipgloss.Style
CommandModeContainer func(modes ...string) string
CommandModeHeader lipgloss.Style
CommandModeItem lipgloss.Style
CommandModeActiveItem lipgloss.Style
PathTypeContainer func(paths ...string) string
PathTypeHeader lipgloss.Style
PathTypeItem lipgloss.Style
PathTypeActiveItem lipgloss.Style
PermissionsHeader lipgloss.Style
PermissionsBlock lipgloss.Style
PermissionsActiveBlock lipgloss.Style
PermissionsBlockItem lipgloss.Style
PermissionsActiveBlockItem lipgloss.Style
}
Click to show internal directories.
Click to hide internal directories.