unicode arrows for sorting help
This commit is contained in:
parent
4b4604d76e
commit
be6885398b
|
@ -40,29 +40,29 @@ func (s Sorting) Prev() Sorting {
|
||||||
func (s Sorting) String() string {
|
func (s Sorting) String() string {
|
||||||
switch s {
|
switch s {
|
||||||
case Name:
|
case Name:
|
||||||
return "name"
|
return "name ↑"
|
||||||
case NameReverse:
|
case NameReverse:
|
||||||
return "name (r)"
|
return "name ↓"
|
||||||
case Date:
|
case Date:
|
||||||
return "date"
|
return "date ↑"
|
||||||
case DateReverse:
|
case DateReverse:
|
||||||
return "date (r)"
|
return "date ↓"
|
||||||
case Path:
|
case Path:
|
||||||
return "path"
|
return "path ↑"
|
||||||
case PathReverse:
|
case PathReverse:
|
||||||
return "path (r)"
|
return "path ↓"
|
||||||
case Size:
|
case Size:
|
||||||
return "size"
|
return "size ↑"
|
||||||
case SizeReverse:
|
case SizeReverse:
|
||||||
return "size (r)"
|
return "size ↓"
|
||||||
case Extension:
|
case Extension:
|
||||||
return "extension"
|
return "extension ↑"
|
||||||
case ExtensionReverse:
|
case ExtensionReverse:
|
||||||
return "extension (r)"
|
return "extension ↓"
|
||||||
case Directory:
|
case Directory:
|
||||||
return "directories first"
|
return "directories ↑"
|
||||||
case DirectoryReverse:
|
case DirectoryReverse:
|
||||||
return "directories last"
|
return "directories ↓"
|
||||||
default:
|
default:
|
||||||
return "0"
|
return "0"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue