Add binding to toggle headers

This commit is contained in:
Drew DeVault 2019-06-07 10:08:09 -04:00
parent b83e7c9fa6
commit 150a271b36
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -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))
}