diff --git a/macos/Sources/Features/QuickTerminal/QuickTerminalController.swift b/macos/Sources/Features/QuickTerminal/QuickTerminalController.swift index 3cae47b1d..4063aa26f 100644 --- a/macos/Sources/Features/QuickTerminal/QuickTerminalController.swift +++ b/macos/Sources/Features/QuickTerminal/QuickTerminalController.swift @@ -164,6 +164,12 @@ class QuickTerminalController: BaseTerminalController { // MARK: Methods func toggle() { + if derivedConfig.quickTerminalSpaceBehavior == .remain && self.window?.isOnActiveSpace == false { + // If we're in the remain mode and the window is not on the active space, then we bring the window back to the active space. + self.window?.makeKeyAndOrderFront(nil) + return + } + if (visible) { animateOut() } else {