package action import tea "github.com/charmbracelet/bubbletea" // Quit implements Action (ctrl+c) type Quit struct{} func (a Quit) Execute(m Model) tea.Cmd { return tea.Quit } // Quit implements Action (:) type EnterComandMode struct{} func (a EnterComandMode) Execute(m Model) tea.Cmd { m.SetMode(CommandMode) return nil }