mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
macOS: Fix a regression that caused cmd+v to double up in the dvorak keyboard layout
Fixes #1652
This commit is contained in:
parent
d262f43b5b
commit
8e57fd93c6
2 changed files with 6 additions and 1 deletions
|
|
@ -17,6 +17,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
|
|||
to occasionally freeze in certain situations, such as moving it between
|
||||
monitors or transitioning from/to fullscreen (:iss:`1641`)
|
||||
|
||||
- macOS: Fix a regression that caused :kbd:`cmd+v` to double up in the dvorak
|
||||
keyboard layout (:iss:`1652`)
|
||||
|
||||
|
||||
0.14.0 [2019-05-24]
|
||||
---------------------
|
||||
|
|
|
|||
|
|
@ -319,7 +319,9 @@ is_ctrl_tab(NSEvent *event, NSEventModifierFlags modifierFlags) {
|
|||
|
||||
static inline bool
|
||||
is_cmd_period(NSEvent *event, NSEventModifierFlags modifierFlags) {
|
||||
return event.keyCode == kVK_ANSI_Period && modifierFlags == NSEventModifierFlagCommand;
|
||||
if (modifierFlags != NSEventModifierFlagCommand) return false;
|
||||
if ([event.charactersIgnoringModifiers isEqualToString:@"."]) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
int _glfwPlatformInit(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue