Documentation
¶
Index ¶
Constants ¶
View Source
const ( GitModified = gitModified GitAdded = gitAdded GitDeleted = gitDeleted GitUntracked = gitUntracked GitIgnored = gitIgnored )
Exported git status constants for demo use.
Variables ¶
This section is empty.
Functions ¶
func ApplyTheme ¶
ApplyTheme sets the global color scheme and rebuilds all styles. Pass nil to use the default terminal-inherited colors.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the Bubble Tea model
func NewDemo ¶
NewDemo creates a Model from a pre-built tree root for demo/WASM use. No filesystem or git access is performed.
func (*Model) SetGitInfo ¶
SetGitInfo sets the git branch and file status for demo display.
Click to show internal directories.
Click to hide internal directories.