mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
Fix arrow and function key bug on Tiger
The bug caused arrow (and function) key presses to be sent twice.
This commit is contained in:
@@ -294,7 +294,9 @@ KeyboardInputSourcesEqual(TISInputSourceRef a, TISInputSourceRef b)
|
||||
|
||||
// HACK! Pass the event on or it may disappear (Tiger does not pass Cmd-key
|
||||
// events to keyDown:).
|
||||
[self keyDown:event];
|
||||
if ([event type] == NSKeyDown)
|
||||
[self keyDown:event];
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user