aerc/widgets
Koni Marti 9f4da4de0c msglist: update message counter upon filter change
Update message counter in msglist when the filter is changed (either set or
cleared in the msgstore).

When we apply a filter, we change the number of uids in the message
store. This can unintentionally trigger the storeUpdate() function of
the msglist which checks the number of uids for new messages and
advances the pointer by the difference in the number of messages. This
can be avoided when we update the message counter upon changing the
filter.

Fixes: https://todo.sr.ht/~rjarry/aerc/23
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-03-20 10:00:50 +01:00
..
account-wizard.go go vet: composite literal uses unkeyed fields 2022-03-18 13:33:16 +01:00
account.go statusline: update status only when necessary 2022-03-20 09:58:09 +01:00
aerc.go statusline: implement per-account status 2022-03-18 23:42:07 +01:00
common.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
compose.go go vet: composite literal uses unkeyed fields 2022-03-18 13:33:16 +01:00
dirlist.go scrollable: extract scrolling behavior for reuse 2022-03-03 21:11:05 +01:00
dirtree.go scrollable: extract scrolling behavior for reuse 2022-03-03 21:11:05 +01:00
exline.go completions: add support for completing multiple addresses 2022-01-07 13:54:10 +01:00
getpasswd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
headerlayout.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
msglist.go msglist: update message counter upon filter change 2022-03-20 10:00:50 +01:00
msgviewer.go go vet: composite literal uses unkeyed fields 2022-03-18 13:33:16 +01:00
pgpinfo.go pgp: update openpgp packages (go-crypto and go-pgpmail) 2022-01-07 13:45:34 +01:00
providesmessage.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
scrollable.go scrollable: extract scrolling behavior for reuse 2022-03-03 21:11:05 +01:00
selector.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
spinner.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
status.go statusline: implement per-account status 2022-03-18 23:42:07 +01:00
tabhost.go Implement style configuration. 2020-08-06 21:42:06 +02:00
terminal.go all: fix minor issues found by staticcheck 2022-03-12 21:00:23 +01:00