Documentation
¶
Index ¶
- Variables
- type Browser
- func (b Browser) Height() int
- func (b Browser) Init() tea.Cmd
- func (b Browser) IsLoading() bool
- func (b *Browser) SetFooterEnabled(v bool) *Browser
- func (b *Browser) SetHeaderEnabled(v bool) *Browser
- func (b *Browser) SetHeight(v int) *Browser
- func (b *Browser) SetListEnabled(v bool) *Browser
- func (b *Browser) SetLoading(v bool) *Browser
- func (b *Browser) SetWidth(v int) *Browser
- func (b Browser) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (b Browser) View() (content string)
- func (b Browser) Width() int
- type BrowserResizeMsg
- type FilterStateMsg
- type Footer
- type Header
- type Key
- type List
- type Option
- type OptionSelectedMsg
- type Options
- type OptionsChangedMsg
- type OptionsLoadingMsg
Constants ¶
This section is empty.
Variables ¶
View Source
var BrowserStyle lipgloss.Style = lipgloss.NewStyle().
Padding(1, 1, 1, 1)
View Source
var FilterCursorStyle lipgloss.Style = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#c65ace", Dark: "#c65ace"})
View Source
var FilterPlaceholderStyle lipgloss.Style = lipgloss.NewStyle()
View Source
var FilterPromptStyle lipgloss.Style = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#04B575", Dark: "#ECFD65"}). Padding(0, 0, 0, 0). Bold(true)
View Source
var FilterValueStyle lipgloss.Style = lipgloss.NewStyle()
View Source
Padding(1, 0, 1, 0)
View Source
var HeaderStyle lipgloss.Style = lipgloss.NewStyle().
Padding(0, 0, 0, 0)
View Source
var KeyTextStyle lipgloss.Style = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#332233", Dark: "#998899"})
View Source
var KeyValueStyle lipgloss.Style = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#336633", Dark: "#FFCC99"}). Bold(true)
View Source
var KeysStyle lipgloss.Style = lipgloss.NewStyle()
View Source
var ListCountStyle lipgloss.Style = lipgloss.NewStyle(). Padding(1, 0, 0, 0). Foreground(lipgloss.AdaptiveColor{Light: "#332233", Dark: "#998899"})
View Source
var ListCurrentStyle lipgloss.Style = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#115511", Dark: "#BBFFBB"})
View Source
var ListItemStyle lipgloss.Style = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#444844", Dark: "#BBBFBB"})
View Source
var ListStyle lipgloss.Style = lipgloss.NewStyle().
Padding(1, 0, 0, 0)
View Source
var LogoStyle lipgloss.Style = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#9c3a14ff", Dark: "#a94118"}). Padding(0, 0, 1, 0). Bold(true)
View Source
var PathLabelStyle lipgloss.Style = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#c65ace", Dark: "#c65ace"}). Bold(true)
View Source
var PathValueStyle lipgloss.Style = lipgloss.NewStyle()
Functions ¶
This section is empty.
Types ¶
type Browser ¶
func (*Browser) SetFooterEnabled ¶
func (*Browser) SetHeaderEnabled ¶
func (*Browser) SetListEnabled ¶
func (*Browser) SetLoading ¶
type BrowserResizeMsg ¶
type FilterStateMsg ¶
type Footer ¶
type Footer struct {
// contains filtered or unexported fields
}
func (*Footer) RebuildKeys ¶
func (*Footer) SetEnabled ¶
type Header ¶
func (*Header) SetEnabled ¶
type List ¶
type List struct {
// contains filtered or unexported fields
}
func (List) FilteredOptions ¶
func (*List) SetEnabled ¶
type OptionSelectedMsg ¶
type OptionsChangedMsg ¶
type OptionsChangedMsg struct {
Options []Option
}
type OptionsLoadingMsg ¶
type OptionsLoadingMsg struct{}
Click to show internal directories.
Click to hide internal directories.