aboutsummaryrefslogtreecommitdiffstats
path: root/commands/terminal
diff options
context:
space:
mode:
Diffstat (limited to 'commands/terminal')
-rw-r--r--commands/terminal/close.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/terminal/close.go b/commands/terminal/close.go
index 1698e930..812266c0 100644
--- a/commands/terminal/close.go
+++ b/commands/terminal/close.go
@@ -25,6 +25,6 @@ func (Close) Execute(aerc *widgets.Aerc, args []string) error {
return errors.New("Usage: close")
}
term, _ := aerc.SelectedTabContent().(*widgets.Terminal)
- term.Close(nil)
+ term.Close()
return nil
}