1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-27 20:43:01 +03:00

handle global hotkeys with win key - fixes #2524

This commit is contained in:
Eugene Pankov 2020-07-27 16:36:11 +02:00
parent 926d4f51b3
commit 0130cd9d54
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -189,6 +189,7 @@ export class HotkeysService {
try {
let electronKeySpec = item[0]
electronKeySpec = electronKeySpec.replace('Meta', 'Super')
electronKeySpec = electronKeySpec.replace('⌘', 'Command')
electronKeySpec = electronKeySpec.replace('⌥', 'Alt')
electronKeySpec = electronKeySpec.replace(/-/g, '+')