Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateErrorModel ¶ added in v0.1.1
func CreateErrorModel(err error) model
CreateErrorModel generates a model for handling error input. It initializes a new text input, sets focus on it, and limits the character input to 156. The width of the text input is set to 20. It returns a model with the initialized text input, the error message, and an exit flag set to true.
func InitialTextInputModel ¶
func InitialTextInputModel(output *Output, header string, program *program.ProjectConfig) model
Types ¶
Click to show internal directories.
Click to hide internal directories.