src/apps/sysprefs/configureMissionControl.js
// Helper function converts input keyboard shortcut to keyboard shortcut symbols.
Helper function converts input keyboard shortcut to keyboard shortcut symbols.
Helper function converts input keyboard shortcut to keyboard shortcut symbols .
function parseKeyShortcut(s) {
  return s
    .replace('[control][up]', '⌃ ↑')
    .replace('[control][down]', '⌃ ↓')
    .replace('[control]', '⌃')
    .replace('[option]', '⌥')
    .replace('[shift]', '⇧')
    .replace('[command]', '⌘');
}
function parseKeyShortcut ( s ) { return s . replace ( '[control][up]' , '⌃ ↑') . replace ( '[control][down]' , '⌃ ↓') . replace ( '[control]' , '⌃') . replace ( '[option]' , '⌥') . replace ( '[shift]' , '⇧') . replace ( '[command]' , '⌘'); }
Helper function converts input keyboard shortcut to keyboard shortcut symbols.
Helper function converts input keyboard shortcut to keyboard shortcut symbols .