From 9ff815bb130cca38c66df7a6d42664d8c6376441 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 17 Mar 2019 17:45:44 -0400 Subject: s/:term-close/:close/g --- commands/term-close.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'commands/term-close.go') diff --git a/commands/term-close.go b/commands/term-close.go index 30f3392..ae2b55b 100644 --- a/commands/term-close.go +++ b/commands/term-close.go @@ -7,12 +7,13 @@ import ( ) func init() { - Register("term-close", TermClose) + // TODO: Move this command into a terminal-specific command set + Register("close", TermClose) } func TermClose(aerc *widgets.Aerc, args []string) error { if len(args) != 1 { - return errors.New("Usage: term-close") + return errors.New("Usage: close") } thost, ok := aerc.SelectedTab().(*widgets.TermHost) if !ok { -- cgit 1.4.1-2-gfad0