aboutsummaryrefslogtreecommitdiffstats
path: root/aerc.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-13 12:39:06 -0500
committerDrew DeVault <sir@cmpwn.com>2019-01-13 12:39:06 -0500
commit648ca983f6b2ef29378c32d1ebb6d67798f4af6d (patch)
tree4e7ab40def0adafbb0e8170a26bd610ff035cafc /aerc.go
parent2f5c1db63c55173d15a7ab17a9b75564fabd3648 (diff)
downloadaerc-648ca983f6b2ef29378c32d1ebb6d67798f4af6d.tar.gz
Add basic account widget, populate real acct views
Diffstat (limited to 'aerc.go')
-rw-r--r--aerc.go8
1 files changed, 5 insertions, 3 deletions
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)
}