Workaround for ctrl+f/t not working on windows

This commit is contained in:
Kovid Goyal 2019-09-30 09:22:46 +05:30
parent 06a9c77ace
commit c034aeca4a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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'),
),