Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TitleStyle = lipgloss.NewStyle(). Bold(true). Foreground(lipgloss.Color("#FAFAFA")). Background(lipgloss.Color("#7D56F4")). Padding(0, 1) FocusedStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("205")) BlurredStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("240")) CursorStyle = FocusedStyle.Copy() NoStyle = lipgloss.NewStyle() HelpStyle = BlurredStyle.Copy() LeaderStyle = lipgloss.NewStyle().Foreground(leaderColor) FollowerStyle = lipgloss.NewStyle().Foreground(followerColor) ObserverStyle = lipgloss.NewStyle().Foreground(observerColor) ErrorStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("#FF5555")) // Red for errors DCHeaderStyle = lipgloss.NewStyle().Bold(true).MarginBottom(1) BrokerBoxStyle = lipgloss.NewStyle(). Border(lipgloss.RoundedBorder()). BorderForeground(lipgloss.Color("63")). Padding(0, 1). MarginRight(2). MarginBottom(1) )
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model holds the state for the TUI application. Exported for use in main.go.
func NewModel ¶
func NewModel() Model
NewModel creates the initial state of the TUI model. Exported for use in main.go.
func (Model) Init ¶
Init initializes the TUI model. Required by Bubble Tea. Currently, just starts the cursor blinking.
Click to show internal directories.
Click to hide internal directories.