mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-10 00:52:11 -07:00
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.
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user