summary refs log tree commit diff stats
path: root/commands/terminal
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-30 11:58:24 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-30 11:58:24 -0400
commit700dea23fa75f213af2f99449db994008eab9d21 (patch)
treefa142784bf4ccb6aba1cd2b8513228dd4b968b28 /commands/terminal
parent4465646fedc5dd3efa680a7cc8d06671350b75b9 (diff)
downloadaerc-700dea23fa75f213af2f99449db994008eab9d21.tar.gz
Implement :pipe
Diffstat (limited to 'commands/terminal')
-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
 }