mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-24 11:37:32 +03:00
Merge pull request #876 from imkerberos/fix-cmd-dot-keydown
Fix <Cmd + .> don't trigger keydown event.
This commit is contained in:
commit
07c775082c
@ -113,6 +113,12 @@ public extension NvimView {
|
||||
return true
|
||||
}
|
||||
|
||||
// <D-.> do not trigger keyDown event.
|
||||
if flags.contains(.command), event.keyCode == 47 {
|
||||
self.keyDown(with: event)
|
||||
return true
|
||||
}
|
||||
|
||||
guard let chars = event.characters else { return false }
|
||||
|
||||
// Control code \0 causes rpc parsing problems.
|
||||
|
Loading…
Reference in New Issue
Block a user