From c034aeca4a6d37f4960816a1afd0fa5105459028 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 30 Sep 2019 09:22:46 +0530 Subject: [PATCH] Workaround for ctrl+f/t not working on windows --- src/pyj/read_book/shortcuts.pyj | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pyj/read_book/shortcuts.pyj b/src/pyj/read_book/shortcuts.pyj index b32778f1ba..54a6550d7e 100644 --- a/src/pyj/read_book/shortcuts.pyj +++ b/src/pyj/read_book/shortcuts.pyj @@ -164,13 +164,15 @@ SHORTCUTS = { ), 'toggle_toc': desc( - v"['Ctrl+t']", + # on windows ctrl+t results in ctrl+\u0014 + v"['Ctrl+t', 'Ctrl+\u0014']", 'ui', _('Show/hide Table of Contents'), ), 'start_search': desc( - v"['/', 'Ctrl+f']", + # on windows ctrl+f results in ctrl+\u0006 + v"['/', 'Ctrl+f', 'Ctrl+\u0006']", 'ui', _('Start search'), ),