Fill out constants and strings for control keys

This commit is contained in:
Christian Rocha
2020-01-26 16:46:30 -05:00
parent 84c9ca54bc
commit 91271cacab
7 changed files with 108 additions and 57 deletions

View File

@@ -41,7 +41,7 @@ func update(msg tea.Msg, model tea.Model) (tea.Model, tea.Cmd) {
switch msg.String() {
case "esc":
fallthrough
case "break":
case "ctrl+c":
fallthrough
case "q":
return m, tea.Quit