diff options
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | ui.go | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -86,7 +86,6 @@ Usage of french-wiktionary-flashcards: - Include context hints (e.g. see entry for 'panais', which has "Agriculture", "Par métonomie", etc) in definitions; and maybe the "singular and plural" box as well -- Control-D should exit too - allow setting the language for initial processing, so that we could support languages other than French - general code cleanup & organization @@ -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 = "" |
