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

Restore currentTerminal, accidentally removed in...

Restore currentTerminal, accidentally removed in 78cba9be. Issue 5959
parent 3fd773ec
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -603,6 +603,10 @@ static iTermController *gSharedInstance;
}
}
 
- (PseudoTerminal *)currentTerminal {
return _frontTerminalWindowController;
}
- (void)terminalWillClose:(PseudoTerminal*)theTerminalWindow {
if (_frontTerminalWindowController == theTerminalWindow) {
[self setCurrentTerminal:nil];
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