mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-24 03:25:03 +03:00
Fix <Cmd + .> don't trigger keydown event.
This commit is contained in:
parent
463b3af7e2
commit
f50882e59a
@ -100,6 +100,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