Add a selection mode that limits the selection to the current directory. (#849)
This commit is contained in:
1 parent
479ed924f7
commit
21a32a7603
8 files changed
+45
-8
No files matched your search
@@ -789,8 +789,9 @@ func (ui *ui) drawStatLine(nav *nav) {
|
||||
}
|
||||
}
|
||||
|
||||
if len(nav.selections) > 0 {
|
||||
selection += fmt.Sprintf(" \033[35;7m %d \033[0m", len(nav.selections))
|
||||
currSelections := nav.currSelections()
|
||||
if len(currSelections) > 0 {
|
||||
selection += fmt.Sprintf(" \033[35;7m %d \033[0m", len(currSelections))
|
||||
}
|
||||
|
||||
if len(dir.filter) != 0 {
|
||||
|
||||
Reference in new issue
Block a user