Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppState ¶
type AppState int
AppState represents the current state of the application
const ( StateLoading AppState = iota StateDirtyRepoChoice StateCommitMessage StateStashMessage StateExecutingGitCommand StateSelectAction StateSelectPRType StateConfirmTag StateEditTagComment StateExecutingTag StateConfirmPush StateExecutingPush StateUndoPreview // consolidated undo screen with tag list and scope selection StateConfirmUndo StateExecutingUndo StateCustomTag // custom version input for first tag StateDone StateError )
type KeyMap ¶
type KeyMap struct {
Up key.Binding
Down key.Binding
Select key.Binding
Back key.Binding
Quit key.Binding
}
KeyMap defines all key bindings for the application
func (KeyMap) ConfirmHelp ¶
ConfirmHelp returns help for confirmation screens
func (KeyMap) ListHelpWithBack ¶
ListHelpWithBack returns help for list screens that support going back
Click to show internal directories.
Click to hide internal directories.