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

Remove some weird logic dating back to commit...

Remove some weird logic dating back to commit ee11b549068742112b4d7e3141a9eeece81aa50f in the old-iterm repo that was supposed to "improve function key handling" and made Fn+Ctrl+key send the key ignoring modifiers and Fn+key (without Ctrl) send the key with modifiers, as though Fn weren't pressed. I have no idea what this was meant to do but it caused issue 6176
parent d76d1e5a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -5867,9 +5867,7 @@ ITERM_WEAKLY_REFERENCEABLE
send_str = (unsigned char *)[data bytes];
send_strlen = [data length];
} else if (keystr != nil) {
NSData *keydat = ((modflag & NSControlKeyMask) && unicode > 0) ?
[keystr dataUsingEncoding:NSUTF8StringEncoding] :
[unmodkeystr dataUsingEncoding:NSUTF8StringEncoding];
NSData *keydat = [keystr dataUsingEncoding:_terminal.encoding];
send_str = (unsigned char *)[keydat bytes];
send_strlen = [keydat length];
}
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