summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config/binds.conf1
-rw-r--r--widgets/account.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/config/binds.conf b/config/binds.conf
index b192012..2c0476a 100644
--- a/config/binds.conf
+++ b/config/binds.conf
@@ -46,6 +46,7 @@ q = :close<Enter>
 | = :pipe<space>
 f = :forward<Enter>
 D = :delete<Enter>
+H = :toggle-headers<Enter>
 rr = :reply<Enter>
 rq = :reply -q<Enter>
 Rr = :reply -a<Enter>
diff --git a/widgets/account.go b/widgets/account.go
index 0feac4a..1921dbd 100644
--- a/widgets/account.go
+++ b/widgets/account.go
@@ -48,7 +48,7 @@ func NewAccountView(conf *config.AercConfig, acct *config.AccountConfig,
 	}
 
 	dirlist := NewDirectoryList(acct, logger, worker)
-	if (conf.Ui.SidebarWidth > 0) {
+	if conf.Ui.SidebarWidth > 0 {
 		grid.AddChild(ui.NewBordered(dirlist, ui.BORDER_RIGHT))
 	}