From 24daef89e0fc6056c3ff7b94880ed12b4ec3eaa6 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 14 Mar 2019 23:41:25 -0400 Subject: Implement :{next,prev}-message --- widgets/account.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'widgets/account.go') diff --git a/widgets/account.go b/widgets/account.go index 82d2cad..f5e24d2 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -172,6 +172,10 @@ func (acct *AccountView) Directories() *DirectoryList { return acct.dirlist } +func (acct *AccountView) Messages() *MessageList { + return acct.msglist +} + func (acct *AccountView) onMessage(msg types.WorkerMessage) { switch msg := msg.(type) { case *types.Done: -- cgit v1.2.3