summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2017-03-03 02:26:30 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2017-03-03 02:26:30 +0900
commitcb9238dc4ee6ee8c9d25fa0c1f6d731b379de9b1 (patch)
tree08d50bd8d85dd46e9df6d56e7fbedcf396724faf /src
parenta484811f78c9462b2480e33b9f44ad2fae2f4955 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/terminal.go4
1 files changed, 2 insertions, 2 deletions
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 {