Skip to content

Treat Cmd and Ctrl keys differently when setting shortcuts #115

Description

@wilmtang

Mac users can't use Cmd or Ctrl keys to set different shortcuts -- they are treated as equivalent keys

#51

The problem doesn't seem to be fixed. On mac ctrl key and cmd key are recorded as the same key cmd.

if (event.ctrlKey || event.metaKey) parts.push('Ctrl');

return isMac ? shortcut.replace(/Ctrl/g, 'Cmd') : shortcut;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions