summaryrefslogtreecommitdiff
path: root/internal/gui
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-22 15:21:03 +0300
committerPaul Buetow <paul@buetow.org>2025-07-22 15:21:03 +0300
commit33887f6af9b9e685d78c9cb72ac54fcfe88b1b37 (patch)
treec74b4e0095bb211d4621f3c8158cfd8e972495e6 /internal/gui
parent4c53f54e0e6a6bfbf2ddced4ee3dad890e5980be (diff)
Add Cyrillic 'в' support for archive hotkey
- Add 'в' and 'В' (Cyrillic) key handling for archive functionality - Ensures archive works with both Latin 'v' and Cyrillic 'в' keyboards 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
Diffstat (limited to 'internal/gui')
-rw-r--r--internal/gui/app.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/gui/app.go b/internal/gui/app.go
index e6946c2..547a22b 100644
--- a/internal/gui/app.go
+++ b/internal/gui/app.go
@@ -2202,6 +2202,8 @@ func (a *Application) setupKeyboardShortcuts() {
}
case 'ж', 'Ж': // ж = x
a.onExportToAnki()
+ case 'в', 'В': // в = v
+ a.onArchive()
case '?':
a.onShowHotkeys()
case 'h', 'H', 'х', 'Х': // h/х = previous (vim-style)