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

@@ -34,7 +34,7 @@ func update(message tea.Msg, mdl tea.Model) (tea.Model, tea.Cmd) {
case tea.KeyMsg:
switch msg.String() {
case "break":
case "ctrl+c":
fallthrough
case "esc":
fallthrough