diff options
author | Koni Marti <koni.marti@gmail.com> | 2022-03-24 23:12:16 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-03-25 13:07:25 +0100 |
commit | fc604b667939bfe52ab8758a9a369e2c63de4dbc (patch) | |
tree | 06f9d7326f8392200868ec91a166523365f57907 /lib/statusline/folderstate.go | |
parent | 20218de913d871390a97aa3b86a03d5d06af50d6 (diff) | |
download | aerc-fc604b667939bfe52ab8758a9a369e2c63de4dbc.tar.gz |
statusline: indicate when sorting is in progress
Indicate when sorting is in progress in the statusline.
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/statusline/folderstate.go')
-rw-r--r-- | lib/statusline/folderstate.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/statusline/folderstate.go b/lib/statusline/folderstate.go index 50a8c82b..ff470b72 100644 --- a/lib/statusline/folderstate.go +++ b/lib/statusline/folderstate.go @@ -4,6 +4,7 @@ type folderState struct { Search string Filter string FilterActivity string + Sorting string Threading string } @@ -21,6 +22,9 @@ func (fs *folderState) State() []string { if fs.Search != "" { line = append(line, fs.Search) } + if fs.Sorting != "" { + line = append(line, fs.Sorting) + } if fs.Threading != "" { line = append(line, fs.Threading) } |