aboutsummaryrefslogtreecommitdiff
path: root/commands/msgview
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msgview')
-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 9966735..ed86405 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
}