Merge remote-tracking branch 'arachsys/master'

This commit is contained in:
Maxime Coste 2021-12-12 09:29:40 +11:00
commit 513753a2ec

View File

@ -1443,7 +1443,8 @@ public:
auto main_index = context().selections().main_index();
return {AtomList{ { "insert", context().faces()["StatusLineMode"] },
{ " ", context().faces()["StatusLine"] },
{ format( "{} sels ({})", num_sel, main_index + 1),
{ num_sel == 1 ? format("{} sel", num_sel)
: format("{} sels ({})", num_sel, main_index + 1),
context().faces()["StatusLineInfo"] } }};
}