aerc

Working clone of aerc-mail.org
git clone git://git.danielmoch.com/aerc.git
Log | Files | Refs | README | LICENSE

commit 9ff815bb130cca38c66df7a6d42664d8c6376441
parent 60b17c473a0edbd806c9f0c8e4b3b238cb60227e
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 17 Mar 2019 17:45:44 -0400

s/:term-close/:close/g

Diffstat:
Mcommands/term-close.go | 5+++--
Mwidgets/terminal.go | 1-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 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 { diff --git a/widgets/terminal.go b/widgets/terminal.go @@ -1,7 +1,6 @@ package widgets import ( - "fmt" gocolor "image/color" "os" "os/exec"