|
@@ -231,6 +231,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|
|
|
|
|
// These keys should exit the program.
|
|
// These keys should exit the program.
|
|
case "ctrl+c", "q":
|
|
case "ctrl+c", "q":
|
|
|
|
+ fmt.Print("\033[H\033[2J")
|
|
return m, tea.Quit
|
|
return m, tea.Quit
|
|
|
|
|
|
// The "up" and "k" keys move the cursor up
|
|
// The "up" and "k" keys move the cursor up
|