diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-30 11:58:24 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-03-30 11:58:24 -0400 |
commit | 700dea23fa75f213af2f99449db994008eab9d21 (patch) | |
tree | fa142784bf4ccb6aba1cd2b8513228dd4b968b28 /commands/terminal/close.go | |
parent | 4465646fedc5dd3efa680a7cc8d06671350b75b9 (diff) | |
download | aerc-700dea23fa75f213af2f99449db994008eab9d21.tar.gz |
Implement :pipe
Diffstat (limited to 'commands/terminal/close.go')
-rw-r--r-- | commands/terminal/close.go | 1 |
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 } |