mirror of
https://github.com/charmbracelet/gum.git
synced 2024-09-11 06:16:03 +03:00
fix: added esc-key to quit table (#290)
This commit is contained in:
parent
b5444d5f0b
commit
1267b7a78e
@ -39,7 +39,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
m.selected = m.table.SelectedRow()
|
||||
m.quitting = true
|
||||
return m, tea.Quit
|
||||
case "ctrl+c", "q":
|
||||
case "ctrl+c", "q", "esc":
|
||||
m.quitting = true
|
||||
return m, tea.Quit
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user