Documentation ¶ Index ¶ func Cmd(msg tea.Msg) tea.Cmd func Error(err error) tea.Cmd func PrettyExit(err error, code int) type Model Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Cmd ¶ func Cmd(msg tea.Msg) tea.Cmd func Error ¶ func Error(err error) tea.Cmd func PrettyExit ¶ func PrettyExit(err error, code int) Types ¶ type Model ¶ type Model interface { // Run the program with the Model. Blocking until the program quits. Run() error // Send the command to the program in a separate goroutine. Send(cmd tea.Cmd) } Source Files ¶ View all Source files model.go Directories ¶ Show internal Expand all Path Synopsis mainPage Click to show internal directories. Click to hide internal directories.