Versions in this module Expand all Collapse all v0 v0.17.15 May 11, 2026 v0.17.14 May 11, 2026 Changes in this version + var DefaultKeyMap = KeyMap + func GenerateDefaultCommitMessage(files []string, originalCommitMessage string) string + type BranchCreatedMsg struct + Name string + type BranchNameEnteredMsg struct + Name string + type CancelMsg struct + type CommitEditorConfig struct + CurrentBranch string + DefaultMessage string + Direction Direction + Files []string + type CommitEditorModel struct + func NewCommitEditorModel(cfg CommitEditorConfig) *CommitEditorModel + func (m *CommitEditorModel) Canceled() bool + func (m *CommitEditorModel) Init() tea.Cmd + func (m *CommitEditorModel) Message() string + func (m *CommitEditorModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) + func (m *CommitEditorModel) View() tea.View + type CompleteMsg struct + Branches []string + type Config struct + AvailableTypes []TypeChoice + Branch engine.Branch + Engine engine.Engine + PreselectedDirection Direction + PreselectedStyle Style + UseGitAddP bool + type Direction string + const DirectionAbove + const DirectionBelow + type DirectionContext struct + Children []string + CurrentBranch string + Engine engine.BranchReader + ParentBranch string + type DirectionSelectedMsg struct + Direction Direction + type EditMessageConfirmedMsg struct + WantsEdit bool + type EditorCompleteMsg struct + Error error + Message string + type EditorRequestMsg struct + DefaultMessage string + type ErrorMsg struct + Error error + type HunksLoadedMsg struct + Diff string + Hunks []git.Hunk + type HunksSelectedMsg struct + Hunks []git.Hunk + type KeyMap struct + Cancel key.Binding + Down key.Binding + No key.Binding + Select key.Binding + Submit key.Binding + Up key.Binding + Yes key.Binding + func (k KeyMap) ConfirmHelp() []key.Binding + func (k KeyMap) FullHelp() [][]key.Binding + func (k KeyMap) ShortHelp() []key.Binding + func (k KeyMap) SubmitHelp() []key.Binding + type LoopContinueMsg struct + type Model struct + func NewModel(cfg Config) *Model + func (m *Model) GetBranchName() string + func (m *Model) GetCurrentState() State + func (m *Model) GetCurrentSubState() SubState + func (m *Model) GetResult() Result + func (m *Model) GetSelectedDirection() Direction + func (m *Model) GetSelectedStyle() Style + func (m *Model) GetWantsEditMessage() bool + func (m *Model) Init() tea.Cmd + func (m *Model) IsCreatingBranch() bool + func (m *Model) IsSelectingHunks() bool + func (m *Model) IsWaitingForEditor() bool + func (m *Model) SetCommitMessage(msg string) + func (m *Model) SetDefaultBranchName(name string) + func (m *Model) SetExistingBranchNames(names map[string]bool) + func (m *Model) SetOriginalBranchName(name string) + func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) + func (m *Model) View() tea.View + type NoChangesMsg struct + type Result struct + Branches []string + Canceled bool + Direction Direction + Error error + Style Style + type RetryMsg struct + type State int + const StateCanceled + const StateComplete + const StateError + const StateHunkLoop + const StateSelectingDirection + const StateSelectingType + type Style string + const StyleCommit + const StyleFile + const StyleHunk + type Styles struct + Common style.CommonStyles + Header style.HeaderStyles + Icons style.StatusIcons + Layout style.LayoutStyles + Selection style.SelectionStyles + Status style.StatusStyles + func DefaultStyles() Styles + type SubState int + const SubStateCreatingBranch + const SubStateEditingMessage + const SubStateEnteringBranchName + const SubStateNone + const SubStatePromptEditMessage + const SubStateSelectingHunks + const SubStateWaitingForRetry + type TypeChoice struct + Available bool + Description string + Label string + Style Style + type TypeSelectedMsg struct + Style Style