diff --git a/SwiftNeoVim/NeoVimView+Key.swift b/SwiftNeoVim/NeoVimView+Key.swift index cde4505e..baaaadcb 100644 --- a/SwiftNeoVim/NeoVimView+Key.swift +++ b/SwiftNeoVim/NeoVimView+Key.swift @@ -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) ?? false