Skip to content

Commit

Permalink
fix: Handle quote character
Browse files Browse the repository at this point in the history
  • Loading branch information
huytd committed May 30, 2024
1 parent 47673df commit 669996d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ fn get_char(keycode: CGKeyCode) -> Option<PressedKey> {
24 => Some(PressedKey::Char(key_map[&'='])),
42 => Some(PressedKey::Char(key_map[&'\\'])),
44 => Some(PressedKey::Char(key_map[&'/'])),
39 => Some(PressedKey::Char(key_map[&'\''])),
36 | 52 => Some(PressedKey::Char(KEY_ENTER)), // ENTER
49 => Some(PressedKey::Char(KEY_SPACE)), // SPACE
48 => Some(PressedKey::Char(KEY_TAB)), // TAB
Expand Down

0 comments on commit 669996d

Please sign in to comment.