aboutsummaryrefslogtreecommitdiff
path: root/commands/terminal/close.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/terminal/close.go')
-rw-r--r--commands/terminal/close.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/commands/terminal/close.go b/commands/terminal/close.go
index 35c4799..8256e67 100644
--- a/commands/terminal/close.go
+++ b/commands/terminal/close.go
@@ -26,6 +26,5 @@ func (_ Close) Execute(aerc *widgets.Aerc, args []string) error {
}
term, _ := aerc.SelectedTab().(*widgets.Terminal)
term.Close(nil)
- aerc.RemoveTab(term)
return nil
}