Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// Window dimensions
Width int
Height int
// Navigation state
Cursor int
Tree *tree.TreeNode
// Dialog states
ShowConfirm bool
ConfirmYes bool
PendingCommand string
DefaultConfirm bool
// Input handling
ShowInputs bool
InputFields []InputField
InputCursor int
InputValues map[string]string
// Help system
ShowHelp bool
Help help.Model
Keys KeyMap
}
App represents the main application state
type InputField ¶
type InputField struct {
Name string
Placeholder string
TextInput textinput.Model
// Choice field support
IsChoice bool
Options []config.VariableOption
Choice int
SelectedValue string
ShowCustomInput bool
CustomInput textinput.Model
}
InputField represents a variable input field with support for choices and text input
Click to show internal directories.
Click to hide internal directories.