diff --git a/src/ZenKeyboardShortcuts.mjs b/src/ZenKeyboardShortcuts.mjs index b4f456c..0d3d444 100644 --- a/src/ZenKeyboardShortcuts.mjs +++ b/src/ZenKeyboardShortcuts.mjs @@ -165,7 +165,7 @@ class KeyShortcutModifiers { toUserString() { let str = ''; - if (this.#control || this.#accel) { + if (this.#control && !this.#accel) { str += 'Ctrl+'; } if (this.#alt) { @@ -177,6 +177,9 @@ class KeyShortcutModifiers { if (this.#meta) { str += AppConstants.platform == 'macosx' ? 'Cmd+' : 'Win+'; } + if (this.#accel) { + str += AppConstants.platform == 'macosx' ? 'Cmd+' : 'Ctrl+'; + } return str; }