From cb9238dc4ee6ee8c9d25fa0c1f6d731b379de9b1 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 3 Mar 2017 02:26:30 +0900 Subject: Display -S if sort is disabled and toggle-sort is used This is to address a common confusion that one does not realize that sorting is intentionally turned off by default and can be enabled by a bind key. --- src/terminal.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/terminal.go b/src/terminal.go index c7c21c4f..f556badd 100644 --- a/src/terminal.go +++ b/src/terminal.go @@ -658,9 +658,9 @@ func (t *Terminal) printInfo() { output := fmt.Sprintf("%d/%d", t.merger.Length(), t.count) if t.toggleSort { if t.sort { - output += "/S" + output += " +S" } else { - output += " " + output += " -S" } } if t.multi && len(t.selected) > 0 { -- cgit v1.2.3