aboutsummaryrefslogtreecommitdiff
path: root/commands/account
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account')
-rw-r--r--commands/account/next.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/commands/account/next.go b/commands/account/next.go
index 7e8541f..88c4fd4 100644
--- a/commands/account/next.go
+++ b/commands/account/next.go
@@ -48,9 +48,11 @@ func NextPrevMessage(aerc *widgets.Aerc, args []string) error {
}
for ; n > 0; n-- {
if args[0] == "prev-message" || args[0] == "prev" {
- acct.Messages().Prev()
+ acct.Store().Prev()
+ acct.Messages().Scroll()
} else {
- acct.Messages().Next()
+ acct.Store().Next()
+ acct.Messages().Scroll()
}
}
return nil