summaryrefslogtreecommitdiff
path: root/ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui.go')
-rw-r--r--ui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.go b/ui.go
index c41d6f2..bbffb5c 100644
--- a/ui.go
+++ b/ui.go
@@ -138,7 +138,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
m.vp.SetContent(formatDefinitionForDisplay(m.p, m.currentDefinition, m.vp.Width))
case tea.KeyMsg:
switch msg.Type {
- case tea.KeyCtrlC:
+ case tea.KeyCtrlC, tea.KeyCtrlD:
return m, tea.Quit
case tea.KeyEsc:
m.currentWord = ""