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

Make double-clicking in command history or recent directories tool change...

Make double-clicking in command history or recent directories tool change focus to the session. Hold shift during a command click to append a newline.
parent bdffad5b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -7241,6 +7241,7 @@ static NSString* TERMINAL_ARRANGEMENT_HIDING_TOOLBELT_SHOULD_RESIZE_WINDOW = @"H
 
- (void)toolbeltInsertText:(NSString *)text {
[[[self currentSession] textview] insertText:text];
[[self currentSession] takeFocus];
}
 
- (VT100RemoteHost *)toolbeltCurrentHost {
Loading
Loading
Loading
Loading
@@ -277,6 +277,9 @@ static const CGFloat kHelpMargin = 5;
return;
}
}
if (([[NSApp currentEvent] modifierFlags] & NSShiftKeyMask)) {
text = [text stringByAppendingString:@"\n"];
}
[wrapper.delegate.delegate toolbeltInsertText:text];
}
 
Loading
Loading
Loading
Loading
@@ -230,6 +230,9 @@ static const CGFloat kHelpMargin = 5;
} else {
text = entry.path;
}
if (([[NSApp currentEvent] modifierFlags] & NSShiftKeyMask)) {
text = [text stringByAppendingString:@"\n"];
}
[wrapper.delegate.delegate toolbeltInsertText:text];
}
 
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