mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-25 06:06:21 +03:00
Hide cursor on keydown
This commit is contained in:
parent
0138899e40
commit
7c612266b9
@ -9,6 +9,7 @@ extension NeoVimView {
|
||||
|
||||
override public func keyDown(with event: NSEvent) {
|
||||
self.keyDownDone = false
|
||||
NSCursor.setHiddenUntilMouseMoves(true)
|
||||
|
||||
let context = NSTextInputContext.current()!
|
||||
let cocoaHandledEvent = context.handleEvent(event)
|
||||
|
Loading…
Reference in New Issue
Block a user