Skip to content

Commit

Permalink
Change invalid ues of Cmd instead of Meta key
Browse files Browse the repository at this point in the history
  • Loading branch information
hsource committed Aug 19, 2022
1 parent 9274428 commit 4f9c195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/game-chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const AUTO_CLEAR = [

export function typeInChat (text: string, send: boolean) {
restoreClipboard((clipboard) => {
const modifiers = process.platform === 'darwin' ? [Key.Cmd] : [Key.Ctrl]
const modifiers = process.platform === 'darwin' ? [Key.Meta] : [Key.Ctrl]

if (text.startsWith(PLACEHOLDER_LAST)) {
text = text.slice(`${PLACEHOLDER_LAST} `.length)
Expand Down

0 comments on commit 4f9c195

Please sign in to comment.