diff options
Diffstat (limited to 'cocoa/BrowserView.m')
-rw-r--r-- | cocoa/BrowserView.m | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cocoa/BrowserView.m b/cocoa/BrowserView.m index 241add229..5676086e6 100644 --- a/cocoa/BrowserView.m +++ b/cocoa/BrowserView.m @@ -274,7 +274,11 @@ static browser_mouse_state cocoa_mouse_flags_for_event( NSEvent *evt ) - (void) keyDown: (NSEvent *)theEvent; { - [self interpretKeyEvents: [NSArray arrayWithObject: theEvent]]; + if (!historyVisible) { + [self interpretKeyEvents: [NSArray arrayWithObject: theEvent]]; + } else { + [history keyDown: theEvent]; + } } - (void) insertText: (id)string; |