mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Animate out the quick terminal if closed all tabs
This commit is contained in:
@ -41,6 +41,7 @@ class QuickTerminalTabManager: ObservableObject {
|
||||
if currentTab?.id == tab.id {
|
||||
if tabs.isEmpty {
|
||||
newTab()
|
||||
controller?.animateOut()
|
||||
} else {
|
||||
let newIndex = min(index, tabs.count - 1)
|
||||
selectTab(tabs[newIndex])
|
||||
|
Reference in New Issue
Block a user