From 61224d4f33a4cb98335f13fa9b74f6abdcae8860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Gy=C3=B6ngy=C3=B6si?= Date: Wed, 18 Dec 2024 20:29:16 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20add=20support=20for=20Windows=20by?= =?UTF-8?q?=20adding=20keyboard=20shortcuts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/moodle_to_vikwikiquiz/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/moodle_to_vikwikiquiz/main.py b/src/moodle_to_vikwikiquiz/main.py index cecebf3..f2b2751 100644 --- a/src/moodle_to_vikwikiquiz/main.py +++ b/src/moodle_to_vikwikiquiz/main.py @@ -74,6 +74,7 @@ def get_article_instructions( wiki_modifier_keys = { "Darwin": "Control-Option", "Linux": "Alt-Shift", + "Windows": "Alt-Shift", } wiki_editor_keys = {"Show preview": "P", "Publish page": "S"} if operating_system == "Darwin" or operating_system == "Linux": @@ -86,6 +87,7 @@ def get_article_instructions( go_to_folder_keyboard_shortcuts = { "Darwin": "Command-Shift-G", "Linux": "Ctrl-L", + "Windows": "Ctrl-L", } print( f"""The batch upload page of the wiki will now be opened. After that, please...