11 lines
180 B
Go
11 lines
180 B
Go
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
|
|
}
|