Skip to content

Commit

Permalink
Animate out the quick terminal if closed all tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
sohsatoh committed Jan 26, 2025
1 parent 98a0e07 commit ae8ddb2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit ae8ddb2

Please sign in to comment.