aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msgview/close.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msgview/close.go')
-rw-r--r--commands/msgview/close.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/msgview/close.go b/commands/msgview/close.go
index 9966735d..ed86405a 100644
--- a/commands/msgview/close.go
+++ b/commands/msgview/close.go
@@ -25,6 +25,7 @@ func (Close) Execute(aerc *widgets.Aerc, args []string) error {
return errors.New("Usage: close")
}
mv, _ := aerc.SelectedTab().(*widgets.MessageViewer)
+ mv.Close()
aerc.RemoveTab(mv)
return nil
}