cmd+backspace for delete rows on mac

This commit is contained in:
Jan Prochazka
2022-04-21 17:44:00 +02:00
parent 5315a549b0
commit 66da21804b
3 changed files with 5 additions and 2 deletions

View File

@@ -53,7 +53,8 @@ export function formatKeyText(keyText: string): string {
.replace('Shift+', '⇧ ')
.replace('Alt+', '⌥ ')
.replace('Command+', '⌘ ')
.replace('Ctrl+', '⌃ ');
.replace('Ctrl+', '⌃ ')
.replace('Backspace', '⌫ ');
}
return keyText.replace('CtrlOrCommand+', 'Ctrl+');
}