Skip to content
Snippets Groups Projects
Commit 755dc804 authored by George Nachman's avatar George Nachman
Browse files

Prevent cmd+key from sending 'key' to terminal if nothing catches cmd-key. Fixes bug 1136.

parent 82b8ac00
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -1937,6 +1937,12 @@ static BOOL RectsEqual(NSRect* a, NSRect* b) {
return;
}
 
if (modflag & NSCommandKeyMask) {
// You pressed cmd+something but it's not handled by the delegate. Going further would
// send the unmodified key to the terminal which doesn't make sense.adsjflsd
return;
}
// Control+Key doesn't work right with custom keyboard layouts. Handle ctrl+key here for the
// standard combinations.
BOOL workAroundControlBug = NO;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment