Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilterTarget ¶
type FilterTarget int
FilterTarget describes which list the filter applies to.
const ( FilterTargetWorktrees FilterTarget = iota FilterTargetStatus FilterTargetLog )
Filter target options.
type LayoutMode ¶ added in v1.35.0
type LayoutMode int
LayoutMode describes the pane arrangement.
const ( LayoutDefault LayoutMode = iota LayoutTop )
Layout mode options.
type PendingState ¶
type PendingState struct {
Commands []string
CommandEnv map[string]string
CommandCwd string
After func() tea.Msg
TrustPath string
CustomBranchName string
CustomBaseRef string
CustomMenu *config.CustomCreateMenu
}
PendingState keeps deferred command and UI input state.
type SearchTarget ¶
type SearchTarget int
SearchTarget describes where search input is applied.
const ( SearchTargetWorktrees SearchTarget = iota SearchTargetStatus SearchTargetLog )
Search target options.
type ViewState ¶
type ViewState struct {
ShowingFilter bool
FilterTarget FilterTarget
ShowingSearch bool
SearchTarget SearchTarget
FocusedPane int
ZoomedPane int
WindowWidth int
WindowHeight int
Layout LayoutMode
}
ViewState holds UI-related state for the model.
Click to show internal directories.
Click to hide internal directories.