mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
@ -169,6 +169,16 @@ class TerminalWindow: NSWindow {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override func mergeAllWindows(_ sender: Any?) {
|
||||||
|
super.mergeAllWindows(sender)
|
||||||
|
|
||||||
|
if let controller = self.windowController as? TerminalController {
|
||||||
|
// It takes an event loop cycle to merge all the windows so we set a
|
||||||
|
// short timer to relabel the tabs (issue #1902)
|
||||||
|
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { controller.relabelTabs() }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// MARK: - Tab Bar Styling
|
// MARK: - Tab Bar Styling
|
||||||
|
|
||||||
// This is true if we should apply styles to the titlebar or tab bar.
|
// This is true if we should apply styles to the titlebar or tab bar.
|
||||||
|
Reference in New Issue
Block a user