Documentation ¶ Overview ¶ Package tui is triage's interactive terminal app. Index ¶ func Run(env *app.Env) error func RunUpdate(env *app.Env) error type Model func New(env *app.Env) *Model func (m *Model) Init() tea.Cmd func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (m *Model) View() tea.View Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(env *app.Env) error Run starts the app and blocks until it exits. func RunUpdate ¶ added in v0.3.0 func RunUpdate(env *app.Env) error RunUpdate implements `triage update`. Types ¶ type Model ¶ type Model struct { // contains filtered or unexported fields } Model is the root of the interactive app. func New ¶ func New(env *app.Env) *Model New builds the app around env. func (*Model) Init ¶ func (m *Model) Init() tea.Cmd func (*Model) Update ¶ func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (*Model) View ¶ func (m *Model) View() tea.View Source Files ¶ View all Source files actions.godetail.goform.gokeys.gomodel.gomotion.goonboarding.gopicker.gorender.gosidebar.gosync.gotheme.goupdate.goviews.go Click to show internal directories. Click to hide internal directories.