mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-20 19:19:41 +03: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
@ -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 @@ - (void)render_frame_received:(id)displayIDAsID
|
||||
|
||||
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…
Reference in New Issue
Block a user