From 648ca983f6b2ef29378c32d1ebb6d67798f4af6d Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 13 Jan 2019 12:39:06 -0500 Subject: Add basic account widget, populate real acct views --- aerc.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'aerc.go') diff --git a/aerc.go b/aerc.go index 3030ee99..3bdc90aa 100644 --- a/aerc.go +++ b/aerc.go @@ -15,8 +15,10 @@ import ( ) func main() { - var logOut io.Writer - var logger *log.Logger + var ( + logOut io.Writer + logger *log.Logger + ) if !isatty.IsTerminal(os.Stdout.Fd()) { logOut = os.Stdout } else { @@ -30,7 +32,7 @@ func main() { panic(err) } - ui, err := libui.Initialize(conf, widgets.NewAerc(logger)) + ui, err := libui.Initialize(conf, widgets.NewAerc(conf, logger)) if err != nil { panic(err) } -- cgit