summary refs log tree commit diff stats
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, 1 insertions, 0 deletions
diff --git a/commands/terminal/close.go b/commands/terminal/close.go
index 68be6ac..cb5702e 100644
--- a/commands/terminal/close.go
+++ b/commands/terminal/close.go
@@ -19,5 +19,6 @@ func CommandClose(aerc *widgets.Aerc, args []string) error {
 		return errors.New("Error: not a terminal")
 	}
 	thost.Terminal().Close(nil)
+	aerc.RemoveTab(thost)
 	return nil
 }