mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
chore: revert on TerminalManager changes
This commit is contained in:

committed by
Mitchell Hashimoto

parent
3a5aecc216
commit
61a78efa83
@ -26,7 +26,7 @@ class TerminalManager {
|
||||
|
||||
/// Returns the main window of the managed window stack. If there is no window
|
||||
/// then an arbitrary window will be chosen.
|
||||
var mainWindow: Window? {
|
||||
private var mainWindow: Window? {
|
||||
for window in windows {
|
||||
if (window.controller.window?.isMainWindow ?? false) {
|
||||
return window
|
||||
|
Reference in New Issue
Block a user