summary refs log tree commit diff stats
path: root/widgets/msglist.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-06-26 20:50:27 -0400
committerDrew DeVault <sir@cmpwn.com>2019-06-26 20:50:54 -0400
commit91a75cd98b705bd5e6689b154ecaca0e7c81630e (patch)
tree85fd35605953bad88f9ad2b3a5875f5490b59f09 /widgets/msglist.go
parentccf5c02c3815efbe3b2e495cbc6eaca9f017aefd (diff)
downloadaerc-91a75cd98b705bd5e6689b154ecaca0e7c81630e.tar.gz
Implement :search, :next-result, :prev-result
Diffstat (limited to 'widgets/msglist.go')
-rw-r--r--widgets/msglist.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go
index ae50b0d..3f7e2b3 100644
--- a/widgets/msglist.go
+++ b/widgets/msglist.go
@@ -148,6 +148,7 @@ func (ml *MessageList) storeUpdate(store *lib.MessageStore) {
 		ml.nmsgs = len(store.Uids)
 	}
 
+	ml.Scroll()
 	ml.Invalidate()
 }