aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/account.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-14 23:41:25 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-14 23:41:25 -0400
commit24daef89e0fc6056c3ff7b94880ed12b4ec3eaa6 (patch)
tree82bffc5ee8ec795d07833734929907db0f659f85 /widgets/account.go
parent4c8feb9aa54ddb162558482905c4723e2743e657 (diff)
downloadaerc-24daef89e0fc6056c3ff7b94880ed12b4ec3eaa6.tar.gz
Implement :{next,prev}-message
Diffstat (limited to 'widgets/account.go')
-rw-r--r--widgets/account.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/account.go b/widgets/account.go
index 82d2cad4..f5e24d2e 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: