aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2024-05-14 23:43:12 +0200
committerRobin Jarry <robin@jarry.cc>2024-05-28 23:52:40 +0200
commit2276a796f36cb6e213aca3b760b411202ed24e0e (patch)
treefb3f172cd733e1d768ff6099b4a6f3a6de439c98 /app
parent9f97c698e3dd8bb98242f0db40946dee514e3ee8 (diff)
downloadaerc-2276a796f36cb6e213aca3b760b411202ed24e0e.tar.gz
ui: add select-last-message option
Add a [ui].select-last-message option to position the cursor at the bottom of the message list view. Fixes: https://todo.sr.ht/~rjarry/aerc/254 Changelog-added: Add `[ui].select-last-message` option to position cursor at the bottom of the view. Suggested-by: Bence Ferdinandy <bence@ferdinandy.com> Requested-by: Tomasz Kramkowski <tomasz@kramkow.ski> Signed-off-by: Koni Marti <koni.marti@gmail.com> Tested-by: Tomasz Kramkowski <tomasz@kramkow.ski> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'app')
-rw-r--r--app/account.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/account.go b/app/account.go
index ab5793bc..07c6801d 100644
--- a/app/account.go
+++ b/app/account.go
@@ -247,6 +247,7 @@ func (acct *AccountView) newStore(name string) *lib.MessageStore {
uiConf.ThreadingEnabled,
uiConf.ForceClientThreads,
uiConf.ClientThreadsDelay,
+ uiConf.SelectLast,
uiConf.ReverseOrder,
uiConf.ReverseThreadOrder,
uiConf.SortThreadSiblings,