(keys: (keyof Omit<KeyCombination, 'keyCode'>)[])
| 311 | const chars: string[] = []; |
| 312 | |
| 313 | const addModifierKeys = (keys: (keyof Omit<KeyCombination, 'keyCode'>)[]) => { |
| 314 | keys.forEach(key => { |
| 315 | if (keyComb[key]) { |
| 316 | chars.push(displayModifierKey(key)); |
| 317 | } |
| 318 | }); |
| 319 | }; |
| 320 | |
| 321 | if (isMac) { |
| 322 | // Note: on Mac the canonical order is Control, Option (i.e. Alt), Shift, Command (i.e. Meta) |
no test coverage detected