Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

➕ add support for Windows by adding keyboard shortcuts #20

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/moodle_to_vikwikiquiz/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand All @@ -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...
Expand Down
Loading