From fc604b667939bfe52ab8758a9a369e2c63de4dbc Mon Sep 17 00:00:00 2001 From: Koni Marti Date: Thu, 24 Mar 2022 23:12:16 +0100 Subject: statusline: indicate when sorting is in progress Indicate when sorting is in progress in the statusline. Signed-off-by: Koni Marti Acked-by: Robin Jarry --- lib/statusline/folderstate.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/statusline/folderstate.go') 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) } -- cgit